From 439989dea33542308968fd05de2add9e93c508a4 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 01:52:56 +0000 Subject: [PATCH 1/3] feat: Enable REST transport for most of Java and Go clients PiperOrigin-RevId: 456641589 Source-Link: https://github.com/googleapis/googleapis/commit/8a251f5225b789b2383207ffd978f6aa3d77fcf7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4ca52a529cf01308d9714950edffbea3560cfbdb Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGNhNTJhNTI5Y2YwMTMwOGQ5NzE0OTUwZWRmZmJlYTM1NjBjZmJkYiJ9 --- .../transcoder/v1/TranscoderServiceGrpc.java | 1202 ----- .../v1/TranscoderServiceClient.java | 31 +- .../v1/TranscoderServiceSettings.java | 30 +- .../video/transcoder/v1/gapic_metadata.json | 0 .../video/transcoder/v1/package-info.java | 0 .../GrpcTranscoderServiceCallableFactory.java | 0 .../v1/stub/GrpcTranscoderServiceStub.java | 1 + ...pJsonTranscoderServiceCallableFactory.java | 105 + .../stub/HttpJsonTranscoderServiceStub.java | 586 +++ .../v1/stub/TranscoderServiceStub.java | 0 .../stub/TranscoderServiceStubSettings.java | 59 +- .../transcoder/v1/MockTranscoderService.java | 0 .../v1/MockTranscoderServiceImpl.java | 0 .../TranscoderServiceClientHttpJsonTest.java | 846 ++++ .../v1/TranscoderServiceClientTest.java | 0 .../transcoder/v1/TranscoderServiceGrpc.java | 930 ++++ .../cloud/video/transcoder/v1/AdBreak.java | 327 +- .../video/transcoder/v1/AdBreakOrBuilder.java | 26 +- .../video/transcoder/v1/AudioStream.java | 1254 ++--- .../transcoder/v1/AudioStreamOrBuilder.java | 69 +- .../video/transcoder/v1/CreateJobRequest.java | 478 +- .../v1/CreateJobRequestOrBuilder.java | 52 +- .../v1/CreateJobTemplateRequest.java | 575 +-- .../v1/CreateJobTemplateRequestOrBuilder.java | 64 +- .../video/transcoder/v1/DeleteJobRequest.java | 379 +- .../v1/DeleteJobRequestOrBuilder.java | 42 + .../v1/DeleteJobTemplateRequest.java | 387 +- .../v1/DeleteJobTemplateRequestOrBuilder.java | 38 +- .../cloud/video/transcoder/v1/EditAtom.java | 612 +-- .../transcoder/v1/EditAtomOrBuilder.java | 61 +- .../video/transcoder/v1/ElementaryStream.java | 690 +-- .../v1/ElementaryStreamOrBuilder.java | 54 +- .../video/transcoder/v1/GetJobRequest.java | 339 +- .../transcoder/v1/GetJobRequestOrBuilder.java | 31 + .../transcoder/v1/GetJobTemplateRequest.java | 342 +- .../v1/GetJobTemplateRequestOrBuilder.java | 33 + .../cloud/video/transcoder/v1/Input.java | 495 +- .../video/transcoder/v1/InputOrBuilder.java | 47 +- .../google/cloud/video/transcoder/v1/Job.java | 1653 +++--- .../cloud/video/transcoder/v1/JobConfig.java | 1703 +++---- .../transcoder/v1/JobConfigOrBuilder.java | 190 +- .../cloud/video/transcoder/v1/JobName.java | 0 .../video/transcoder/v1/JobOrBuilder.java | 172 +- .../video/transcoder/v1/JobTemplate.java | 670 ++- .../video/transcoder/v1/JobTemplateName.java | 0 .../transcoder/v1/JobTemplateOrBuilder.java | 66 +- .../v1/ListJobTemplatesRequest.java | 622 +-- .../v1/ListJobTemplatesRequestOrBuilder.java | 65 +- .../v1/ListJobTemplatesResponse.java | 566 +-- .../v1/ListJobTemplatesResponseOrBuilder.java | 63 +- .../video/transcoder/v1/ListJobsRequest.java | 612 +-- .../v1/ListJobsRequestOrBuilder.java | 65 +- .../video/transcoder/v1/ListJobsResponse.java | 572 +-- .../v1/ListJobsResponseOrBuilder.java | 63 +- .../video/transcoder/v1/LocationName.java | 0 .../cloud/video/transcoder/v1/Manifest.java | 576 +-- .../transcoder/v1/ManifestOrBuilder.java | 59 +- .../cloud/video/transcoder/v1/MuxStream.java | 681 +-- .../transcoder/v1/MuxStreamOrBuilder.java | 71 +- .../cloud/video/transcoder/v1/Output.java | 301 +- .../video/transcoder/v1/OutputOrBuilder.java | 27 +- .../cloud/video/transcoder/v1/Overlay.java | 3567 +++++-------- .../video/transcoder/v1/OverlayOrBuilder.java | 44 +- .../transcoder/v1/PreprocessingConfig.java | 3122 +++++------- .../v1/PreprocessingConfigOrBuilder.java | 66 +- .../transcoder/v1/PubsubDestination.java | 314 +- .../v1/PubsubDestinationOrBuilder.java | 27 +- .../video/transcoder/v1/ResourcesProto.java | 654 +++ .../video/transcoder/v1/SegmentSettings.java | 372 +- .../v1/SegmentSettingsOrBuilder.java | 29 +- .../video/transcoder/v1/ServicesProto.java | 250 + .../video/transcoder/v1/SpriteSheet.java | 956 ++-- .../transcoder/v1/SpriteSheetOrBuilder.java | 84 +- .../cloud/video/transcoder/v1/TextStream.java | 897 ++-- .../transcoder/v1/TextStreamOrBuilder.java | 42 +- .../video/transcoder/v1/VideoStream.java | 4496 ++++++----------- .../transcoder/v1/VideoStreamOrBuilder.java | 42 +- .../cloud/video/transcoder/v1/resources.proto | 0 .../cloud/video/transcoder/v1/services.proto | 0 .../createjob/SyncCreateJob.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 41 + .../create/SyncCreateSetEndpoint.java | 0 .../createjob/AsyncCreateJob.java | 0 .../createjob/SyncCreateJob.java | 0 .../SyncCreateJobLocationnameJob.java | 0 .../createjob/SyncCreateJobStringJob.java | 0 .../AsyncCreateJobTemplate.java | 0 .../SyncCreateJobTemplate.java | 0 ...TemplateLocationnameJobtemplateString.java | 6 +- ...ateJobTemplateStringJobtemplateString.java | 6 +- .../deletejob/AsyncDeleteJob.java | 0 .../deletejob/SyncDeleteJob.java | 1 + .../deletejob/SyncDeleteJobJobname.java | 1 + .../deletejob/SyncDeleteJobString.java | 1 + .../AsyncDeleteJobTemplate.java | 0 .../SyncDeleteJobTemplate.java | 1 + .../SyncDeleteJobTemplateJobtemplatename.java | 1 + .../SyncDeleteJobTemplateString.java | 1 + .../getjob/AsyncGetJob.java | 0 .../getjob/SyncGetJob.java | 0 .../getjob/SyncGetJobJobname.java | 0 .../getjob/SyncGetJobString.java | 0 .../getjobtemplate/AsyncGetJobTemplate.java | 0 .../getjobtemplate/SyncGetJobTemplate.java | 0 .../SyncGetJobTemplateJobtemplatename.java | 0 .../SyncGetJobTemplateString.java | 0 .../listjobs/AsyncListJobs.java | 0 .../listjobs/AsyncListJobsPaged.java | 0 .../listjobs/SyncListJobs.java | 0 .../listjobs/SyncListJobsLocationname.java | 0 .../listjobs/SyncListJobsString.java | 0 .../AsyncListJobTemplates.java | 0 .../AsyncListJobTemplatesPaged.java | 0 .../SyncListJobTemplates.java | 0 .../SyncListJobTemplatesLocationname.java | 0 .../SyncListJobTemplatesString.java | 0 .../createjob/SyncCreateJob.java | 0 .../v1/DeleteJobRequestOrBuilder.java | 70 - .../transcoder/v1/GetJobRequestOrBuilder.java | 56 - .../v1/GetJobTemplateRequestOrBuilder.java | 58 - .../video/transcoder/v1/ResourcesProto.java | 810 --- .../video/transcoder/v1/ServicesProto.java | 274 - 123 files changed, 14314 insertions(+), 20957 deletions(-) delete mode 100644 grpc-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceGrpc.java rename {google-cloud-video-transcoder => owl-bot-staging/v1/google-cloud-video-transcoder}/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java (97%) rename {google-cloud-video-transcoder => owl-bot-staging/v1/google-cloud-video-transcoder}/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceSettings.java (90%) rename {google-cloud-video-transcoder => owl-bot-staging/v1/google-cloud-video-transcoder}/src/main/java/com/google/cloud/video/transcoder/v1/gapic_metadata.json (100%) rename {google-cloud-video-transcoder => owl-bot-staging/v1/google-cloud-video-transcoder}/src/main/java/com/google/cloud/video/transcoder/v1/package-info.java (100%) rename {google-cloud-video-transcoder => owl-bot-staging/v1/google-cloud-video-transcoder}/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceCallableFactory.java (100%) rename {google-cloud-video-transcoder => owl-bot-staging/v1/google-cloud-video-transcoder}/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java (99%) create mode 100644 owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/HttpJsonTranscoderServiceCallableFactory.java create mode 100644 owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/HttpJsonTranscoderServiceStub.java rename {google-cloud-video-transcoder => owl-bot-staging/v1/google-cloud-video-transcoder}/src/main/java/com/google/cloud/video/transcoder/v1/stub/TranscoderServiceStub.java (100%) rename {google-cloud-video-transcoder => owl-bot-staging/v1/google-cloud-video-transcoder}/src/main/java/com/google/cloud/video/transcoder/v1/stub/TranscoderServiceStubSettings.java (90%) rename {google-cloud-video-transcoder => owl-bot-staging/v1/google-cloud-video-transcoder}/src/test/java/com/google/cloud/video/transcoder/v1/MockTranscoderService.java (100%) rename {google-cloud-video-transcoder => owl-bot-staging/v1/google-cloud-video-transcoder}/src/test/java/com/google/cloud/video/transcoder/v1/MockTranscoderServiceImpl.java (100%) create mode 100644 owl-bot-staging/v1/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClientHttpJsonTest.java rename {google-cloud-video-transcoder => owl-bot-staging/v1/google-cloud-video-transcoder}/src/test/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClientTest.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceGrpc.java rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/AdBreak.java (70%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/AdBreakOrBuilder.java (63%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/AudioStream.java (77%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/AudioStreamOrBuilder.java (83%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequest.java (63%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequestOrBuilder.java (54%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequest.java (65%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequestOrBuilder.java (58%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequestOrBuilder.java rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequest.java (66%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequestOrBuilder.java (50%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/EditAtom.java (74%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/EditAtomOrBuilder.java (80%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStream.java (71%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStreamOrBuilder.java (76%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/GetJobRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobRequestOrBuilder.java rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/GetJobTemplateRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobTemplateRequestOrBuilder.java rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/Input.java (72%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/InputOrBuilder.java (73%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/Job.java (71%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/JobConfig.java (77%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/JobConfigOrBuilder.java (85%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/JobName.java (100%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/JobOrBuilder.java (80%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplate.java (65%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplateName.java (100%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplateOrBuilder.java (69%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequest.java (69%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequestOrBuilder.java (64%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponse.java (74%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponseOrBuilder.java (72%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequest.java (70%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequestOrBuilder.java (62%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponse.java (73%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponseOrBuilder.java (70%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/LocationName.java (100%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/Manifest.java (72%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/ManifestOrBuilder.java (72%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/MuxStream.java (75%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/MuxStreamOrBuilder.java (79%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/Output.java (71%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/OutputOrBuilder.java (60%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/Overlay.java (73%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/OverlayOrBuilder.java (74%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/PreprocessingConfig.java (72%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/PreprocessingConfigOrBuilder.java (84%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/PubsubDestination.java (69%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/PubsubDestinationOrBuilder.java (52%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ResourcesProto.java rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/SegmentSettings.java (72%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/SegmentSettingsOrBuilder.java (72%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ServicesProto.java rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheet.java (77%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheetOrBuilder.java (86%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/TextStream.java (75%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/TextStreamOrBuilder.java (73%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/VideoStream.java (79%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/java/com/google/cloud/video/transcoder/v1/VideoStreamOrBuilder.java (77%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/proto/google/cloud/video/transcoder/v1/resources.proto (100%) rename {proto-google-cloud-video-transcoder-v1 => owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1}/src/main/proto/google/cloud/video/transcoder/v1/services.proto (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/stub/transcoderservicestubsettings/createjob/SyncCreateJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/create/SyncCreateSetCredentialsProvider1.java rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/createjob/AsyncCreateJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/createjob/SyncCreateJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/createjob/SyncCreateJobLocationnameJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/createjob/SyncCreateJobStringJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/createjobtemplate/AsyncCreateJobTemplate.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/createjobtemplate/SyncCreateJobTemplate.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/createjobtemplate/SyncCreateJobTemplateLocationnameJobtemplateString.java (88%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/createjobtemplate/SyncCreateJobTemplateStringJobtemplateString.java (88%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/deletejob/AsyncDeleteJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/deletejob/SyncDeleteJob.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/deletejob/SyncDeleteJobJobname.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/deletejob/SyncDeleteJobString.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/deletejobtemplate/AsyncDeleteJobTemplate.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/deletejobtemplate/SyncDeleteJobTemplate.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/deletejobtemplate/SyncDeleteJobTemplateJobtemplatename.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/deletejobtemplate/SyncDeleteJobTemplateString.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/getjob/AsyncGetJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/getjob/SyncGetJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/getjob/SyncGetJobJobname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/getjob/SyncGetJobString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/getjobtemplate/AsyncGetJobTemplate.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/getjobtemplate/SyncGetJobTemplate.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/getjobtemplate/SyncGetJobTemplateJobtemplatename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/getjobtemplate/SyncGetJobTemplateString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/listjobs/AsyncListJobs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/listjobs/AsyncListJobsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/listjobs/SyncListJobs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/listjobs/SyncListJobsLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/listjobs/SyncListJobsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/listjobtemplates/AsyncListJobTemplates.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/listjobtemplates/AsyncListJobTemplatesPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/listjobtemplates/SyncListJobTemplates.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/listjobtemplates/SyncListJobTemplatesLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderserviceclient/listjobtemplates/SyncListJobTemplatesString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/video/transcoder/v1/transcoderservicesettings/createjob/SyncCreateJob.java (100%) delete mode 100644 proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobTemplateRequestOrBuilder.java delete mode 100644 proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ResourcesProto.java delete mode 100644 proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ServicesProto.java diff --git a/grpc-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceGrpc.java b/grpc-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceGrpc.java deleted file mode 100644 index 6476fa16..00000000 --- a/grpc-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceGrpc.java +++ /dev/null @@ -1,1202 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.video.transcoder.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Using the Transcoder API, you can queue asynchronous jobs for transcoding
- * media into various output formats. Output formats may include different
- * streaming standards such as HTTP Live Streaming (HLS) and Dynamic Adaptive
- * Streaming over HTTP (DASH). You can also customize jobs using advanced
- * features such as Digital Rights Management (DRM), audio equalization, content
- * concatenation, and digital ad-stitch ready content generation.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/video/transcoder/v1/services.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class TranscoderServiceGrpc { - - private TranscoderServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.video.transcoder.v1.TranscoderService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.CreateJobRequest, - com.google.cloud.video.transcoder.v1.Job> - getCreateJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateJob", - requestType = com.google.cloud.video.transcoder.v1.CreateJobRequest.class, - responseType = com.google.cloud.video.transcoder.v1.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.CreateJobRequest, - com.google.cloud.video.transcoder.v1.Job> - getCreateJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.CreateJobRequest, - com.google.cloud.video.transcoder.v1.Job> - getCreateJobMethod; - if ((getCreateJobMethod = TranscoderServiceGrpc.getCreateJobMethod) == null) { - synchronized (TranscoderServiceGrpc.class) { - if ((getCreateJobMethod = TranscoderServiceGrpc.getCreateJobMethod) == null) { - TranscoderServiceGrpc.getCreateJobMethod = - getCreateJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.transcoder.v1.CreateJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.transcoder.v1.Job.getDefaultInstance())) - .setSchemaDescriptor( - new TranscoderServiceMethodDescriptorSupplier("CreateJob")) - .build(); - } - } - } - return getCreateJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.ListJobsRequest, - com.google.cloud.video.transcoder.v1.ListJobsResponse> - getListJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListJobs", - requestType = com.google.cloud.video.transcoder.v1.ListJobsRequest.class, - responseType = com.google.cloud.video.transcoder.v1.ListJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.ListJobsRequest, - com.google.cloud.video.transcoder.v1.ListJobsResponse> - getListJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.ListJobsRequest, - com.google.cloud.video.transcoder.v1.ListJobsResponse> - getListJobsMethod; - if ((getListJobsMethod = TranscoderServiceGrpc.getListJobsMethod) == null) { - synchronized (TranscoderServiceGrpc.class) { - if ((getListJobsMethod = TranscoderServiceGrpc.getListJobsMethod) == null) { - TranscoderServiceGrpc.getListJobsMethod = - getListJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.transcoder.v1.ListJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.transcoder.v1.ListJobsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new TranscoderServiceMethodDescriptorSupplier("ListJobs")) - .build(); - } - } - } - return getListJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.GetJobRequest, - com.google.cloud.video.transcoder.v1.Job> - getGetJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetJob", - requestType = com.google.cloud.video.transcoder.v1.GetJobRequest.class, - responseType = com.google.cloud.video.transcoder.v1.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.GetJobRequest, - com.google.cloud.video.transcoder.v1.Job> - getGetJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.GetJobRequest, - com.google.cloud.video.transcoder.v1.Job> - getGetJobMethod; - if ((getGetJobMethod = TranscoderServiceGrpc.getGetJobMethod) == null) { - synchronized (TranscoderServiceGrpc.class) { - if ((getGetJobMethod = TranscoderServiceGrpc.getGetJobMethod) == null) { - TranscoderServiceGrpc.getGetJobMethod = - getGetJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.transcoder.v1.GetJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.transcoder.v1.Job.getDefaultInstance())) - .setSchemaDescriptor(new TranscoderServiceMethodDescriptorSupplier("GetJob")) - .build(); - } - } - } - return getGetJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.DeleteJobRequest, com.google.protobuf.Empty> - getDeleteJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteJob", - requestType = com.google.cloud.video.transcoder.v1.DeleteJobRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.DeleteJobRequest, com.google.protobuf.Empty> - getDeleteJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.DeleteJobRequest, com.google.protobuf.Empty> - getDeleteJobMethod; - if ((getDeleteJobMethod = TranscoderServiceGrpc.getDeleteJobMethod) == null) { - synchronized (TranscoderServiceGrpc.class) { - if ((getDeleteJobMethod = TranscoderServiceGrpc.getDeleteJobMethod) == null) { - TranscoderServiceGrpc.getDeleteJobMethod = - getDeleteJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.transcoder.v1.DeleteJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new TranscoderServiceMethodDescriptorSupplier("DeleteJob")) - .build(); - } - } - } - return getDeleteJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest, - com.google.cloud.video.transcoder.v1.JobTemplate> - getCreateJobTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateJobTemplate", - requestType = com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest.class, - responseType = com.google.cloud.video.transcoder.v1.JobTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest, - com.google.cloud.video.transcoder.v1.JobTemplate> - getCreateJobTemplateMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest, - com.google.cloud.video.transcoder.v1.JobTemplate> - getCreateJobTemplateMethod; - if ((getCreateJobTemplateMethod = TranscoderServiceGrpc.getCreateJobTemplateMethod) == null) { - synchronized (TranscoderServiceGrpc.class) { - if ((getCreateJobTemplateMethod = TranscoderServiceGrpc.getCreateJobTemplateMethod) - == null) { - TranscoderServiceGrpc.getCreateJobTemplateMethod = - getCreateJobTemplateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJobTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.transcoder.v1.JobTemplate - .getDefaultInstance())) - .setSchemaDescriptor( - new TranscoderServiceMethodDescriptorSupplier("CreateJobTemplate")) - .build(); - } - } - } - return getCreateJobTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest, - com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse> - getListJobTemplatesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListJobTemplates", - requestType = com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest.class, - responseType = com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest, - com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse> - getListJobTemplatesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest, - com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse> - getListJobTemplatesMethod; - if ((getListJobTemplatesMethod = TranscoderServiceGrpc.getListJobTemplatesMethod) == null) { - synchronized (TranscoderServiceGrpc.class) { - if ((getListJobTemplatesMethod = TranscoderServiceGrpc.getListJobTemplatesMethod) == null) { - TranscoderServiceGrpc.getListJobTemplatesMethod = - getListJobTemplatesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobTemplates")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new TranscoderServiceMethodDescriptorSupplier("ListJobTemplates")) - .build(); - } - } - } - return getListJobTemplatesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.GetJobTemplateRequest, - com.google.cloud.video.transcoder.v1.JobTemplate> - getGetJobTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetJobTemplate", - requestType = com.google.cloud.video.transcoder.v1.GetJobTemplateRequest.class, - responseType = com.google.cloud.video.transcoder.v1.JobTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.GetJobTemplateRequest, - com.google.cloud.video.transcoder.v1.JobTemplate> - getGetJobTemplateMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.GetJobTemplateRequest, - com.google.cloud.video.transcoder.v1.JobTemplate> - getGetJobTemplateMethod; - if ((getGetJobTemplateMethod = TranscoderServiceGrpc.getGetJobTemplateMethod) == null) { - synchronized (TranscoderServiceGrpc.class) { - if ((getGetJobTemplateMethod = TranscoderServiceGrpc.getGetJobTemplateMethod) == null) { - TranscoderServiceGrpc.getGetJobTemplateMethod = - getGetJobTemplateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJobTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.transcoder.v1.GetJobTemplateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.transcoder.v1.JobTemplate - .getDefaultInstance())) - .setSchemaDescriptor( - new TranscoderServiceMethodDescriptorSupplier("GetJobTemplate")) - .build(); - } - } - } - return getGetJobTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest, com.google.protobuf.Empty> - getDeleteJobTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteJobTemplate", - requestType = com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest, com.google.protobuf.Empty> - getDeleteJobTemplateMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest, - com.google.protobuf.Empty> - getDeleteJobTemplateMethod; - if ((getDeleteJobTemplateMethod = TranscoderServiceGrpc.getDeleteJobTemplateMethod) == null) { - synchronized (TranscoderServiceGrpc.class) { - if ((getDeleteJobTemplateMethod = TranscoderServiceGrpc.getDeleteJobTemplateMethod) - == null) { - TranscoderServiceGrpc.getDeleteJobTemplateMethod = - getDeleteJobTemplateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJobTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new TranscoderServiceMethodDescriptorSupplier("DeleteJobTemplate")) - .build(); - } - } - } - return getDeleteJobTemplateMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static TranscoderServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TranscoderServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TranscoderServiceStub(channel, callOptions); - } - }; - return TranscoderServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static TranscoderServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TranscoderServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TranscoderServiceBlockingStub(channel, callOptions); - } - }; - return TranscoderServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static TranscoderServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TranscoderServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TranscoderServiceFutureStub(channel, callOptions); - } - }; - return TranscoderServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Using the Transcoder API, you can queue asynchronous jobs for transcoding
-   * media into various output formats. Output formats may include different
-   * streaming standards such as HTTP Live Streaming (HLS) and Dynamic Adaptive
-   * Streaming over HTTP (DASH). You can also customize jobs using advanced
-   * features such as Digital Rights Management (DRM), audio equalization, content
-   * concatenation, and digital ad-stitch ready content generation.
-   * 
- */ - public abstract static class TranscoderServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a job in the specified region.
-     * 
- */ - public void createJob( - com.google.cloud.video.transcoder.v1.CreateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists jobs in the specified region.
-     * 
- */ - public void listJobs( - com.google.cloud.video.transcoder.v1.ListJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the job data.
-     * 
- */ - public void getJob( - com.google.cloud.video.transcoder.v1.GetJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a job.
-     * 
- */ - public void deleteJob( - com.google.cloud.video.transcoder.v1.DeleteJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a job template in the specified region.
-     * 
- */ - public void createJobTemplate( - com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateJobTemplateMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists job templates in the specified region.
-     * 
- */ - public void listJobTemplates( - com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListJobTemplatesMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the job template data.
-     * 
- */ - public void getJobTemplate( - com.google.cloud.video.transcoder.v1.GetJobTemplateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetJobTemplateMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a job template.
-     * 
- */ - public void deleteJobTemplate( - com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteJobTemplateMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.transcoder.v1.CreateJobRequest, - com.google.cloud.video.transcoder.v1.Job>(this, METHODID_CREATE_JOB))) - .addMethod( - getListJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.transcoder.v1.ListJobsRequest, - com.google.cloud.video.transcoder.v1.ListJobsResponse>( - this, METHODID_LIST_JOBS))) - .addMethod( - getGetJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.transcoder.v1.GetJobRequest, - com.google.cloud.video.transcoder.v1.Job>(this, METHODID_GET_JOB))) - .addMethod( - getDeleteJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.transcoder.v1.DeleteJobRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_JOB))) - .addMethod( - getCreateJobTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest, - com.google.cloud.video.transcoder.v1.JobTemplate>( - this, METHODID_CREATE_JOB_TEMPLATE))) - .addMethod( - getListJobTemplatesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest, - com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse>( - this, METHODID_LIST_JOB_TEMPLATES))) - .addMethod( - getGetJobTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.transcoder.v1.GetJobTemplateRequest, - com.google.cloud.video.transcoder.v1.JobTemplate>( - this, METHODID_GET_JOB_TEMPLATE))) - .addMethod( - getDeleteJobTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_JOB_TEMPLATE))) - .build(); - } - } - - /** - * - * - *
-   * Using the Transcoder API, you can queue asynchronous jobs for transcoding
-   * media into various output formats. Output formats may include different
-   * streaming standards such as HTTP Live Streaming (HLS) and Dynamic Adaptive
-   * Streaming over HTTP (DASH). You can also customize jobs using advanced
-   * features such as Digital Rights Management (DRM), audio equalization, content
-   * concatenation, and digital ad-stitch ready content generation.
-   * 
- */ - public static final class TranscoderServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private TranscoderServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TranscoderServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TranscoderServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a job in the specified region.
-     * 
- */ - public void createJob( - com.google.cloud.video.transcoder.v1.CreateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists jobs in the specified region.
-     * 
- */ - public void listJobs( - com.google.cloud.video.transcoder.v1.ListJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Returns the job data.
-     * 
- */ - public void getJob( - com.google.cloud.video.transcoder.v1.GetJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a job.
-     * 
- */ - public void deleteJob( - com.google.cloud.video.transcoder.v1.DeleteJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a job template in the specified region.
-     * 
- */ - public void createJobTemplate( - com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateJobTemplateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists job templates in the specified region.
-     * 
- */ - public void listJobTemplates( - com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListJobTemplatesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns the job template data.
-     * 
- */ - public void getJobTemplate( - com.google.cloud.video.transcoder.v1.GetJobTemplateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetJobTemplateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a job template.
-     * 
- */ - public void deleteJobTemplate( - com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteJobTemplateMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Using the Transcoder API, you can queue asynchronous jobs for transcoding
-   * media into various output formats. Output formats may include different
-   * streaming standards such as HTTP Live Streaming (HLS) and Dynamic Adaptive
-   * Streaming over HTTP (DASH). You can also customize jobs using advanced
-   * features such as Digital Rights Management (DRM), audio equalization, content
-   * concatenation, and digital ad-stitch ready content generation.
-   * 
- */ - public static final class TranscoderServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private TranscoderServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TranscoderServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TranscoderServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a job in the specified region.
-     * 
- */ - public com.google.cloud.video.transcoder.v1.Job createJob( - com.google.cloud.video.transcoder.v1.CreateJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists jobs in the specified region.
-     * 
- */ - public com.google.cloud.video.transcoder.v1.ListJobsResponse listJobs( - com.google.cloud.video.transcoder.v1.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the job data.
-     * 
- */ - public com.google.cloud.video.transcoder.v1.Job getJob( - com.google.cloud.video.transcoder.v1.GetJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a job.
-     * 
- */ - public com.google.protobuf.Empty deleteJob( - com.google.cloud.video.transcoder.v1.DeleteJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a job template in the specified region.
-     * 
- */ - public com.google.cloud.video.transcoder.v1.JobTemplate createJobTemplate( - com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateJobTemplateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists job templates in the specified region.
-     * 
- */ - public com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse listJobTemplates( - com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListJobTemplatesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the job template data.
-     * 
- */ - public com.google.cloud.video.transcoder.v1.JobTemplate getJobTemplate( - com.google.cloud.video.transcoder.v1.GetJobTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJobTemplateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a job template.
-     * 
- */ - public com.google.protobuf.Empty deleteJobTemplate( - com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteJobTemplateMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Using the Transcoder API, you can queue asynchronous jobs for transcoding
-   * media into various output formats. Output formats may include different
-   * streaming standards such as HTTP Live Streaming (HLS) and Dynamic Adaptive
-   * Streaming over HTTP (DASH). You can also customize jobs using advanced
-   * features such as Digital Rights Management (DRM), audio equalization, content
-   * concatenation, and digital ad-stitch ready content generation.
-   * 
- */ - public static final class TranscoderServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private TranscoderServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TranscoderServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TranscoderServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a job in the specified region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.video.transcoder.v1.Job> - createJob(com.google.cloud.video.transcoder.v1.CreateJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists jobs in the specified region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.video.transcoder.v1.ListJobsResponse> - listJobs(com.google.cloud.video.transcoder.v1.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns the job data.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.video.transcoder.v1.Job> - getJob(com.google.cloud.video.transcoder.v1.GetJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteJob( - com.google.cloud.video.transcoder.v1.DeleteJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a job template in the specified region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.video.transcoder.v1.JobTemplate> - createJobTemplate(com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateJobTemplateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists job templates in the specified region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse> - listJobTemplates(com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListJobTemplatesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns the job template data.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.video.transcoder.v1.JobTemplate> - getJobTemplate(com.google.cloud.video.transcoder.v1.GetJobTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetJobTemplateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a job template.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteJobTemplate(com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteJobTemplateMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_JOB = 0; - private static final int METHODID_LIST_JOBS = 1; - private static final int METHODID_GET_JOB = 2; - private static final int METHODID_DELETE_JOB = 3; - private static final int METHODID_CREATE_JOB_TEMPLATE = 4; - private static final int METHODID_LIST_JOB_TEMPLATES = 5; - private static final int METHODID_GET_JOB_TEMPLATE = 6; - private static final int METHODID_DELETE_JOB_TEMPLATE = 7; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final TranscoderServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(TranscoderServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_JOB: - serviceImpl.createJob( - (com.google.cloud.video.transcoder.v1.CreateJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_JOBS: - serviceImpl.listJobs( - (com.google.cloud.video.transcoder.v1.ListJobsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_JOB: - serviceImpl.getJob( - (com.google.cloud.video.transcoder.v1.GetJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_JOB: - serviceImpl.deleteJob( - (com.google.cloud.video.transcoder.v1.DeleteJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_JOB_TEMPLATE: - serviceImpl.createJobTemplate( - (com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_JOB_TEMPLATES: - serviceImpl.listJobTemplates( - (com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse>) - responseObserver); - break; - case METHODID_GET_JOB_TEMPLATE: - serviceImpl.getJobTemplate( - (com.google.cloud.video.transcoder.v1.GetJobTemplateRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_JOB_TEMPLATE: - serviceImpl.deleteJobTemplate( - (com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class TranscoderServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - TranscoderServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("TranscoderService"); - } - } - - private static final class TranscoderServiceFileDescriptorSupplier - extends TranscoderServiceBaseDescriptorSupplier { - TranscoderServiceFileDescriptorSupplier() {} - } - - private static final class TranscoderServiceMethodDescriptorSupplier - extends TranscoderServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - TranscoderServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (TranscoderServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new TranscoderServiceFileDescriptorSupplier()) - .addMethod(getCreateJobMethod()) - .addMethod(getListJobsMethod()) - .addMethod(getGetJobMethod()) - .addMethod(getDeleteJobMethod()) - .addMethod(getCreateJobTemplateMethod()) - .addMethod(getListJobTemplatesMethod()) - .addMethod(getGetJobTemplateMethod()) - .addMethod(getDeleteJobTemplateMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java b/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java similarity index 97% rename from google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java rename to owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java index 7469520f..f0ed1cc2 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java +++ b/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java @@ -62,13 +62,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -105,6 +105,21 @@ * TranscoderServiceClient.create(transcoderServiceSettings); * } * + *

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * TranscoderServiceSettings transcoderServiceSettings =
+ *     TranscoderServiceSettings.newBuilder()
+ *         .setTransportChannelProvider(
+ *             TranscoderServiceSettings.defaultHttpJsonTransportProviderBuilder().build())
+ *         .build();
+ * TranscoderServiceClient transcoderServiceClient =
+ *     TranscoderServiceClient.create(transcoderServiceSettings);
+ * }
+ * *

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @Generated("by gapic-generator-java") @@ -1196,10 +1211,7 @@ protected ListJobsFixedSizeCollection createCollection( public static class ListJobTemplatesPagedResponse extends AbstractPagedListResponse< - ListJobTemplatesRequest, - ListJobTemplatesResponse, - JobTemplate, - ListJobTemplatesPage, + ListJobTemplatesRequest, ListJobTemplatesResponse, JobTemplate, ListJobTemplatesPage, ListJobTemplatesFixedSizeCollection> { public static ApiFuture createAsync( @@ -1249,10 +1261,7 @@ public ApiFuture createPageAsync( public static class ListJobTemplatesFixedSizeCollection extends AbstractFixedSizeCollection< - ListJobTemplatesRequest, - ListJobTemplatesResponse, - JobTemplate, - ListJobTemplatesPage, + ListJobTemplatesRequest, ListJobTemplatesResponse, JobTemplate, ListJobTemplatesPage, ListJobTemplatesFixedSizeCollection> { private ListJobTemplatesFixedSizeCollection( diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceSettings.java b/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceSettings.java similarity index 90% rename from google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceSettings.java rename to owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceSettings.java index 341c0958..758ccf7e 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceSettings.java +++ b/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceSettings.java @@ -24,10 +24,12 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.video.transcoder.v1.stub.TranscoderServiceStubSettings; @@ -43,9 +45,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (transcoder.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (transcoder.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -141,11 +143,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return TranscoderServiceStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return TranscoderServiceStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return TranscoderServiceStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return TranscoderServiceStubSettings.defaultTransportChannelProvider(); } @@ -155,11 +164,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return TranscoderServiceStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -197,6 +212,11 @@ private static Builder createDefault() { return new Builder(TranscoderServiceStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(TranscoderServiceStubSettings.newHttpJsonBuilder()); + } + public TranscoderServiceStubSettings.Builder getStubSettingsBuilder() { return ((TranscoderServiceStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/gapic_metadata.json similarity index 100% rename from google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/gapic_metadata.json diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/package-info.java b/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/package-info.java similarity index 100% rename from google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/package-info.java diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceCallableFactory.java b/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceCallableFactory.java similarity index 100% rename from google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceCallableFactory.java rename to owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceCallableFactory.java diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java b/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java similarity index 99% rename from google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java rename to owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java index e38d7fc4..b27663b8 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java +++ b/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java @@ -43,6 +43,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/HttpJsonTranscoderServiceCallableFactory.java b/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/HttpJsonTranscoderServiceCallableFactory.java new file mode 100644 index 00000000..cda0219c --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/HttpJsonTranscoderServiceCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.video.transcoder.v1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the TranscoderService service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonTranscoderServiceCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/HttpJsonTranscoderServiceStub.java b/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/HttpJsonTranscoderServiceStub.java new file mode 100644 index 00000000..eaf61a0d --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/HttpJsonTranscoderServiceStub.java @@ -0,0 +1,586 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.video.transcoder.v1.stub; + +import static com.google.cloud.video.transcoder.v1.TranscoderServiceClient.ListJobTemplatesPagedResponse; +import static com.google.cloud.video.transcoder.v1.TranscoderServiceClient.ListJobsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.video.transcoder.v1.CreateJobRequest; +import com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest; +import com.google.cloud.video.transcoder.v1.DeleteJobRequest; +import com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest; +import com.google.cloud.video.transcoder.v1.GetJobRequest; +import com.google.cloud.video.transcoder.v1.GetJobTemplateRequest; +import com.google.cloud.video.transcoder.v1.Job; +import com.google.cloud.video.transcoder.v1.JobTemplate; +import com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest; +import com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse; +import com.google.cloud.video.transcoder.v1.ListJobsRequest; +import com.google.cloud.video.transcoder.v1.ListJobsResponse; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the TranscoderService service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonTranscoderServiceStub extends TranscoderServiceStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private static final ApiMethodDescriptor createJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.video.transcoder.v1.TranscoderService/CreateJob") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/jobs", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("job", request.getJob())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Job.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listJobsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.video.transcoder.v1.TranscoderService/ListJobs") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/jobs", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "orderBy", request.getOrderBy()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListJobsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.video.transcoder.v1.TranscoderService/GetJob") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/jobs/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Job.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor deleteJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.video.transcoder.v1.TranscoderService/DeleteJob") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/jobs/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "allowMissing", request.getAllowMissing()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createJobTemplateMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.video.transcoder.v1.TranscoderService/CreateJobTemplate") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/jobTemplates", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "jobTemplateId", request.getJobTemplateId()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("jobTemplate", request.getJobTemplate())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(JobTemplate.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listJobTemplatesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.video.transcoder.v1.TranscoderService/ListJobTemplates") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/jobTemplates", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "orderBy", request.getOrderBy()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListJobTemplatesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getJobTemplateMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.video.transcoder.v1.TranscoderService/GetJobTemplate") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/jobTemplates/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(JobTemplate.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteJobTemplateMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.video.transcoder.v1.TranscoderService/DeleteJobTemplate") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/jobTemplates/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "allowMissing", request.getAllowMissing()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable createJobCallable; + private final UnaryCallable listJobsCallable; + private final UnaryCallable listJobsPagedCallable; + private final UnaryCallable getJobCallable; + private final UnaryCallable deleteJobCallable; + private final UnaryCallable createJobTemplateCallable; + private final UnaryCallable + listJobTemplatesCallable; + private final UnaryCallable + listJobTemplatesPagedCallable; + private final UnaryCallable getJobTemplateCallable; + private final UnaryCallable deleteJobTemplateCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonTranscoderServiceStub create(TranscoderServiceStubSettings settings) + throws IOException { + return new HttpJsonTranscoderServiceStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonTranscoderServiceStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonTranscoderServiceStub( + TranscoderServiceStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonTranscoderServiceStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonTranscoderServiceStub( + TranscoderServiceStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonTranscoderServiceStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonTranscoderServiceStub( + TranscoderServiceStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new HttpJsonTranscoderServiceCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonTranscoderServiceStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonTranscoderServiceStub( + TranscoderServiceStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + HttpJsonCallSettings createJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings listJobsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listJobsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createJobTemplateTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createJobTemplateMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listJobTemplatesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listJobTemplatesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getJobTemplateTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getJobTemplateMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteJobTemplateTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteJobTemplateMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.createJobCallable = + callableFactory.createUnaryCallable( + createJobTransportSettings, settings.createJobSettings(), clientContext); + this.listJobsCallable = + callableFactory.createUnaryCallable( + listJobsTransportSettings, settings.listJobsSettings(), clientContext); + this.listJobsPagedCallable = + callableFactory.createPagedCallable( + listJobsTransportSettings, settings.listJobsSettings(), clientContext); + this.getJobCallable = + callableFactory.createUnaryCallable( + getJobTransportSettings, settings.getJobSettings(), clientContext); + this.deleteJobCallable = + callableFactory.createUnaryCallable( + deleteJobTransportSettings, settings.deleteJobSettings(), clientContext); + this.createJobTemplateCallable = + callableFactory.createUnaryCallable( + createJobTemplateTransportSettings, + settings.createJobTemplateSettings(), + clientContext); + this.listJobTemplatesCallable = + callableFactory.createUnaryCallable( + listJobTemplatesTransportSettings, settings.listJobTemplatesSettings(), clientContext); + this.listJobTemplatesPagedCallable = + callableFactory.createPagedCallable( + listJobTemplatesTransportSettings, settings.listJobTemplatesSettings(), clientContext); + this.getJobTemplateCallable = + callableFactory.createUnaryCallable( + getJobTemplateTransportSettings, settings.getJobTemplateSettings(), clientContext); + this.deleteJobTemplateCallable = + callableFactory.createUnaryCallable( + deleteJobTemplateTransportSettings, + settings.deleteJobTemplateSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(createJobMethodDescriptor); + methodDescriptors.add(listJobsMethodDescriptor); + methodDescriptors.add(getJobMethodDescriptor); + methodDescriptors.add(deleteJobMethodDescriptor); + methodDescriptors.add(createJobTemplateMethodDescriptor); + methodDescriptors.add(listJobTemplatesMethodDescriptor); + methodDescriptors.add(getJobTemplateMethodDescriptor); + methodDescriptors.add(deleteJobTemplateMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable createJobCallable() { + return createJobCallable; + } + + @Override + public UnaryCallable listJobsCallable() { + return listJobsCallable; + } + + @Override + public UnaryCallable listJobsPagedCallable() { + return listJobsPagedCallable; + } + + @Override + public UnaryCallable getJobCallable() { + return getJobCallable; + } + + @Override + public UnaryCallable deleteJobCallable() { + return deleteJobCallable; + } + + @Override + public UnaryCallable createJobTemplateCallable() { + return createJobTemplateCallable; + } + + @Override + public UnaryCallable + listJobTemplatesCallable() { + return listJobTemplatesCallable; + } + + @Override + public UnaryCallable + listJobTemplatesPagedCallable() { + return listJobTemplatesPagedCallable; + } + + @Override + public UnaryCallable getJobTemplateCallable() { + return getJobTemplateCallable; + } + + @Override + public UnaryCallable deleteJobTemplateCallable() { + return deleteJobTemplateCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/TranscoderServiceStub.java b/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/TranscoderServiceStub.java similarity index 100% rename from google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/TranscoderServiceStub.java rename to owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/TranscoderServiceStub.java diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/TranscoderServiceStubSettings.java b/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/TranscoderServiceStubSettings.java similarity index 90% rename from google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/TranscoderServiceStubSettings.java rename to owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/TranscoderServiceStubSettings.java index e9161dd8..c12ce4ac 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/TranscoderServiceStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/TranscoderServiceStubSettings.java @@ -28,6 +28,9 @@ import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.ApiCallContext; import com.google.api.gax.rpc.ApiClientHeaderProvider; @@ -70,9 +73,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (transcoder.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (transcoder.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -276,6 +279,11 @@ public TranscoderServiceStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcTranscoderServiceStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonTranscoderServiceStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -308,18 +316,25 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde .setUseJwtAccessWithScope(true); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return InstantiatingGrpcChannelProvider.newBuilder() .setMaxInboundMessageSize(Integer.MAX_VALUE); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( "gapic", GaxProperties.getLibraryVersion(TranscoderServiceStubSettings.class)) @@ -327,11 +342,30 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - /** Returns a new builder for this class. */ + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(TranscoderServiceStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return TranscoderServiceStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -466,6 +500,19 @@ private static Builder createDefault() { return initDefaults(builder); } + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + private static Builder initDefaults(Builder builder) { builder .createJobSettings() diff --git a/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1/MockTranscoderService.java b/owl-bot-staging/v1/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1/MockTranscoderService.java similarity index 100% rename from google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1/MockTranscoderService.java rename to owl-bot-staging/v1/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1/MockTranscoderService.java diff --git a/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1/MockTranscoderServiceImpl.java b/owl-bot-staging/v1/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1/MockTranscoderServiceImpl.java similarity index 100% rename from google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1/MockTranscoderServiceImpl.java rename to owl-bot-staging/v1/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1/MockTranscoderServiceImpl.java diff --git a/owl-bot-staging/v1/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClientHttpJsonTest.java new file mode 100644 index 00000000..f469df44 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClientHttpJsonTest.java @@ -0,0 +1,846 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.video.transcoder.v1; + +import static com.google.cloud.video.transcoder.v1.TranscoderServiceClient.ListJobTemplatesPagedResponse; +import static com.google.cloud.video.transcoder.v1.TranscoderServiceClient.ListJobsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.video.transcoder.v1.stub.HttpJsonTranscoderServiceStub; +import com.google.common.collect.Lists; +import com.google.protobuf.Empty; +import com.google.protobuf.Timestamp; +import com.google.rpc.Status; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class TranscoderServiceClientHttpJsonTest { + private static MockHttpService mockService; + private static TranscoderServiceClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonTranscoderServiceStub.getMethodDescriptors(), + TranscoderServiceSettings.getDefaultEndpoint()); + TranscoderServiceSettings settings = + TranscoderServiceSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + TranscoderServiceSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = TranscoderServiceClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void createJobTest() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setInputUri("inputUri470706498") + .setOutputUri("outputUri-2119300949") + .setCreateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setTtlAfterCompletionDays(107576420) + .putAllLabels(new HashMap()) + .setError(Status.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Job job = Job.newBuilder().build(); + + Job actualResponse = client.createJob(parent, job); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Job job = Job.newBuilder().build(); + client.createJob(parent, job); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createJobTest2() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setInputUri("inputUri470706498") + .setOutputUri("outputUri-2119300949") + .setCreateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setTtlAfterCompletionDays(107576420) + .putAllLabels(new HashMap()) + .setError(Status.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + Job job = Job.newBuilder().build(); + + Job actualResponse = client.createJob(parent, job); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createJobExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + Job job = Job.newBuilder().build(); + client.createJob(parent, job); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listJobsTest() throws Exception { + Job responsesElement = Job.newBuilder().build(); + ListJobsResponse expectedResponse = + ListJobsResponse.newBuilder() + .setNextPageToken("") + .addAllJobs(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListJobsPagedResponse pagedListResponse = client.listJobs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getJobsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listJobsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listJobs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listJobsTest2() throws Exception { + Job responsesElement = Job.newBuilder().build(); + ListJobsResponse expectedResponse = + ListJobsResponse.newBuilder() + .setNextPageToken("") + .addAllJobs(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListJobsPagedResponse pagedListResponse = client.listJobs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getJobsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listJobsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listJobs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getJobTest() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setInputUri("inputUri470706498") + .setOutputUri("outputUri-2119300949") + .setCreateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setTtlAfterCompletionDays(107576420) + .putAllLabels(new HashMap()) + .setError(Status.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + + Job actualResponse = client.getJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + client.getJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getJobTest2() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setInputUri("inputUri470706498") + .setOutputUri("outputUri-2119300949") + .setCreateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setTtlAfterCompletionDays(107576420) + .putAllLabels(new HashMap()) + .setError(Status.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + + Job actualResponse = client.getJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getJobExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + client.getJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteJobTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + + client.deleteJob(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + client.deleteJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteJobTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + + client.deleteJob(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteJobExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + client.deleteJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createJobTemplateTest() throws Exception { + JobTemplate expectedResponse = + JobTemplate.newBuilder() + .setName(JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString()) + .setConfig(JobConfig.newBuilder().build()) + .putAllLabels(new HashMap()) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + JobTemplate jobTemplate = JobTemplate.newBuilder().build(); + String jobTemplateId = "jobTemplateId-597733678"; + + JobTemplate actualResponse = client.createJobTemplate(parent, jobTemplate, jobTemplateId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createJobTemplateExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + JobTemplate jobTemplate = JobTemplate.newBuilder().build(); + String jobTemplateId = "jobTemplateId-597733678"; + client.createJobTemplate(parent, jobTemplate, jobTemplateId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createJobTemplateTest2() throws Exception { + JobTemplate expectedResponse = + JobTemplate.newBuilder() + .setName(JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString()) + .setConfig(JobConfig.newBuilder().build()) + .putAllLabels(new HashMap()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + JobTemplate jobTemplate = JobTemplate.newBuilder().build(); + String jobTemplateId = "jobTemplateId-597733678"; + + JobTemplate actualResponse = client.createJobTemplate(parent, jobTemplate, jobTemplateId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createJobTemplateExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + JobTemplate jobTemplate = JobTemplate.newBuilder().build(); + String jobTemplateId = "jobTemplateId-597733678"; + client.createJobTemplate(parent, jobTemplate, jobTemplateId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listJobTemplatesTest() throws Exception { + JobTemplate responsesElement = JobTemplate.newBuilder().build(); + ListJobTemplatesResponse expectedResponse = + ListJobTemplatesResponse.newBuilder() + .setNextPageToken("") + .addAllJobTemplates(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListJobTemplatesPagedResponse pagedListResponse = client.listJobTemplates(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getJobTemplatesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listJobTemplatesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listJobTemplates(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listJobTemplatesTest2() throws Exception { + JobTemplate responsesElement = JobTemplate.newBuilder().build(); + ListJobTemplatesResponse expectedResponse = + ListJobTemplatesResponse.newBuilder() + .setNextPageToken("") + .addAllJobTemplates(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListJobTemplatesPagedResponse pagedListResponse = client.listJobTemplates(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getJobTemplatesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listJobTemplatesExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listJobTemplates(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getJobTemplateTest() throws Exception { + JobTemplate expectedResponse = + JobTemplate.newBuilder() + .setName(JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString()) + .setConfig(JobConfig.newBuilder().build()) + .putAllLabels(new HashMap()) + .build(); + mockService.addResponse(expectedResponse); + + JobTemplateName name = JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]"); + + JobTemplate actualResponse = client.getJobTemplate(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getJobTemplateExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + JobTemplateName name = JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]"); + client.getJobTemplate(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getJobTemplateTest2() throws Exception { + JobTemplate expectedResponse = + JobTemplate.newBuilder() + .setName(JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString()) + .setConfig(JobConfig.newBuilder().build()) + .putAllLabels(new HashMap()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3644/locations/location-3644/jobTemplates/jobTemplate-3644"; + + JobTemplate actualResponse = client.getJobTemplate(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getJobTemplateExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3644/locations/location-3644/jobTemplates/jobTemplate-3644"; + client.getJobTemplate(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteJobTemplateTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + JobTemplateName name = JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]"); + + client.deleteJobTemplate(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteJobTemplateExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + JobTemplateName name = JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]"); + client.deleteJobTemplate(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteJobTemplateTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3644/locations/location-3644/jobTemplates/jobTemplate-3644"; + + client.deleteJobTemplate(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteJobTemplateExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3644/locations/location-3644/jobTemplates/jobTemplate-3644"; + client.deleteJobTemplate(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClientTest.java b/owl-bot-staging/v1/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClientTest.java similarity index 100% rename from google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClientTest.java rename to owl-bot-staging/v1/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClientTest.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceGrpc.java new file mode 100644 index 00000000..b13faf0b --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceGrpc.java @@ -0,0 +1,930 @@ +package com.google.cloud.video.transcoder.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Using the Transcoder API, you can queue asynchronous jobs for transcoding
+ * media into various output formats. Output formats may include different
+ * streaming standards such as HTTP Live Streaming (HLS) and Dynamic Adaptive
+ * Streaming over HTTP (DASH). You can also customize jobs using advanced
+ * features such as Digital Rights Management (DRM), audio equalization, content
+ * concatenation, and digital ad-stitch ready content generation.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/video/transcoder/v1/services.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class TranscoderServiceGrpc { + + private TranscoderServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.video.transcoder.v1.TranscoderService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateJob", + requestType = com.google.cloud.video.transcoder.v1.CreateJobRequest.class, + responseType = com.google.cloud.video.transcoder.v1.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateJobMethod() { + io.grpc.MethodDescriptor getCreateJobMethod; + if ((getCreateJobMethod = TranscoderServiceGrpc.getCreateJobMethod) == null) { + synchronized (TranscoderServiceGrpc.class) { + if ((getCreateJobMethod = TranscoderServiceGrpc.getCreateJobMethod) == null) { + TranscoderServiceGrpc.getCreateJobMethod = getCreateJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.transcoder.v1.CreateJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.transcoder.v1.Job.getDefaultInstance())) + .setSchemaDescriptor(new TranscoderServiceMethodDescriptorSupplier("CreateJob")) + .build(); + } + } + } + return getCreateJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getListJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListJobs", + requestType = com.google.cloud.video.transcoder.v1.ListJobsRequest.class, + responseType = com.google.cloud.video.transcoder.v1.ListJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListJobsMethod() { + io.grpc.MethodDescriptor getListJobsMethod; + if ((getListJobsMethod = TranscoderServiceGrpc.getListJobsMethod) == null) { + synchronized (TranscoderServiceGrpc.class) { + if ((getListJobsMethod = TranscoderServiceGrpc.getListJobsMethod) == null) { + TranscoderServiceGrpc.getListJobsMethod = getListJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.transcoder.v1.ListJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.transcoder.v1.ListJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new TranscoderServiceMethodDescriptorSupplier("ListJobs")) + .build(); + } + } + } + return getListJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetJob", + requestType = com.google.cloud.video.transcoder.v1.GetJobRequest.class, + responseType = com.google.cloud.video.transcoder.v1.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetJobMethod() { + io.grpc.MethodDescriptor getGetJobMethod; + if ((getGetJobMethod = TranscoderServiceGrpc.getGetJobMethod) == null) { + synchronized (TranscoderServiceGrpc.class) { + if ((getGetJobMethod = TranscoderServiceGrpc.getGetJobMethod) == null) { + TranscoderServiceGrpc.getGetJobMethod = getGetJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.transcoder.v1.GetJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.transcoder.v1.Job.getDefaultInstance())) + .setSchemaDescriptor(new TranscoderServiceMethodDescriptorSupplier("GetJob")) + .build(); + } + } + } + return getGetJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteJob", + requestType = com.google.cloud.video.transcoder.v1.DeleteJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteJobMethod() { + io.grpc.MethodDescriptor getDeleteJobMethod; + if ((getDeleteJobMethod = TranscoderServiceGrpc.getDeleteJobMethod) == null) { + synchronized (TranscoderServiceGrpc.class) { + if ((getDeleteJobMethod = TranscoderServiceGrpc.getDeleteJobMethod) == null) { + TranscoderServiceGrpc.getDeleteJobMethod = getDeleteJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.transcoder.v1.DeleteJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new TranscoderServiceMethodDescriptorSupplier("DeleteJob")) + .build(); + } + } + } + return getDeleteJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateJobTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateJobTemplate", + requestType = com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest.class, + responseType = com.google.cloud.video.transcoder.v1.JobTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateJobTemplateMethod() { + io.grpc.MethodDescriptor getCreateJobTemplateMethod; + if ((getCreateJobTemplateMethod = TranscoderServiceGrpc.getCreateJobTemplateMethod) == null) { + synchronized (TranscoderServiceGrpc.class) { + if ((getCreateJobTemplateMethod = TranscoderServiceGrpc.getCreateJobTemplateMethod) == null) { + TranscoderServiceGrpc.getCreateJobTemplateMethod = getCreateJobTemplateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJobTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.transcoder.v1.JobTemplate.getDefaultInstance())) + .setSchemaDescriptor(new TranscoderServiceMethodDescriptorSupplier("CreateJobTemplate")) + .build(); + } + } + } + return getCreateJobTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor getListJobTemplatesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListJobTemplates", + requestType = com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest.class, + responseType = com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListJobTemplatesMethod() { + io.grpc.MethodDescriptor getListJobTemplatesMethod; + if ((getListJobTemplatesMethod = TranscoderServiceGrpc.getListJobTemplatesMethod) == null) { + synchronized (TranscoderServiceGrpc.class) { + if ((getListJobTemplatesMethod = TranscoderServiceGrpc.getListJobTemplatesMethod) == null) { + TranscoderServiceGrpc.getListJobTemplatesMethod = getListJobTemplatesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobTemplates")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse.getDefaultInstance())) + .setSchemaDescriptor(new TranscoderServiceMethodDescriptorSupplier("ListJobTemplates")) + .build(); + } + } + } + return getListJobTemplatesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetJobTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetJobTemplate", + requestType = com.google.cloud.video.transcoder.v1.GetJobTemplateRequest.class, + responseType = com.google.cloud.video.transcoder.v1.JobTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetJobTemplateMethod() { + io.grpc.MethodDescriptor getGetJobTemplateMethod; + if ((getGetJobTemplateMethod = TranscoderServiceGrpc.getGetJobTemplateMethod) == null) { + synchronized (TranscoderServiceGrpc.class) { + if ((getGetJobTemplateMethod = TranscoderServiceGrpc.getGetJobTemplateMethod) == null) { + TranscoderServiceGrpc.getGetJobTemplateMethod = getGetJobTemplateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJobTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.transcoder.v1.GetJobTemplateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.transcoder.v1.JobTemplate.getDefaultInstance())) + .setSchemaDescriptor(new TranscoderServiceMethodDescriptorSupplier("GetJobTemplate")) + .build(); + } + } + } + return getGetJobTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteJobTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteJobTemplate", + requestType = com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteJobTemplateMethod() { + io.grpc.MethodDescriptor getDeleteJobTemplateMethod; + if ((getDeleteJobTemplateMethod = TranscoderServiceGrpc.getDeleteJobTemplateMethod) == null) { + synchronized (TranscoderServiceGrpc.class) { + if ((getDeleteJobTemplateMethod = TranscoderServiceGrpc.getDeleteJobTemplateMethod) == null) { + TranscoderServiceGrpc.getDeleteJobTemplateMethod = getDeleteJobTemplateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJobTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new TranscoderServiceMethodDescriptorSupplier("DeleteJobTemplate")) + .build(); + } + } + } + return getDeleteJobTemplateMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static TranscoderServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TranscoderServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TranscoderServiceStub(channel, callOptions); + } + }; + return TranscoderServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static TranscoderServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TranscoderServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TranscoderServiceBlockingStub(channel, callOptions); + } + }; + return TranscoderServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static TranscoderServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TranscoderServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TranscoderServiceFutureStub(channel, callOptions); + } + }; + return TranscoderServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Using the Transcoder API, you can queue asynchronous jobs for transcoding
+   * media into various output formats. Output formats may include different
+   * streaming standards such as HTTP Live Streaming (HLS) and Dynamic Adaptive
+   * Streaming over HTTP (DASH). You can also customize jobs using advanced
+   * features such as Digital Rights Management (DRM), audio equalization, content
+   * concatenation, and digital ad-stitch ready content generation.
+   * 
+ */ + public static abstract class TranscoderServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a job in the specified region.
+     * 
+ */ + public void createJob(com.google.cloud.video.transcoder.v1.CreateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); + } + + /** + *
+     * Lists jobs in the specified region.
+     * 
+ */ + public void listJobs(com.google.cloud.video.transcoder.v1.ListJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); + } + + /** + *
+     * Returns the job data.
+     * 
+ */ + public void getJob(com.google.cloud.video.transcoder.v1.GetJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); + } + + /** + *
+     * Deletes a job.
+     * 
+ */ + public void deleteJob(com.google.cloud.video.transcoder.v1.DeleteJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); + } + + /** + *
+     * Creates a job template in the specified region.
+     * 
+ */ + public void createJobTemplate(com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobTemplateMethod(), responseObserver); + } + + /** + *
+     * Lists job templates in the specified region.
+     * 
+ */ + public void listJobTemplates(com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobTemplatesMethod(), responseObserver); + } + + /** + *
+     * Returns the job template data.
+     * 
+ */ + public void getJobTemplate(com.google.cloud.video.transcoder.v1.GetJobTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobTemplateMethod(), responseObserver); + } + + /** + *
+     * Deletes a job template.
+     * 
+ */ + public void deleteJobTemplate(com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobTemplateMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.transcoder.v1.CreateJobRequest, + com.google.cloud.video.transcoder.v1.Job>( + this, METHODID_CREATE_JOB))) + .addMethod( + getListJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.transcoder.v1.ListJobsRequest, + com.google.cloud.video.transcoder.v1.ListJobsResponse>( + this, METHODID_LIST_JOBS))) + .addMethod( + getGetJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.transcoder.v1.GetJobRequest, + com.google.cloud.video.transcoder.v1.Job>( + this, METHODID_GET_JOB))) + .addMethod( + getDeleteJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.transcoder.v1.DeleteJobRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_JOB))) + .addMethod( + getCreateJobTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest, + com.google.cloud.video.transcoder.v1.JobTemplate>( + this, METHODID_CREATE_JOB_TEMPLATE))) + .addMethod( + getListJobTemplatesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest, + com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse>( + this, METHODID_LIST_JOB_TEMPLATES))) + .addMethod( + getGetJobTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.transcoder.v1.GetJobTemplateRequest, + com.google.cloud.video.transcoder.v1.JobTemplate>( + this, METHODID_GET_JOB_TEMPLATE))) + .addMethod( + getDeleteJobTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_JOB_TEMPLATE))) + .build(); + } + } + + /** + *
+   * Using the Transcoder API, you can queue asynchronous jobs for transcoding
+   * media into various output formats. Output formats may include different
+   * streaming standards such as HTTP Live Streaming (HLS) and Dynamic Adaptive
+   * Streaming over HTTP (DASH). You can also customize jobs using advanced
+   * features such as Digital Rights Management (DRM), audio equalization, content
+   * concatenation, and digital ad-stitch ready content generation.
+   * 
+ */ + public static final class TranscoderServiceStub extends io.grpc.stub.AbstractAsyncStub { + private TranscoderServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TranscoderServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TranscoderServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a job in the specified region.
+     * 
+ */ + public void createJob(com.google.cloud.video.transcoder.v1.CreateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists jobs in the specified region.
+     * 
+ */ + public void listJobs(com.google.cloud.video.transcoder.v1.ListJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the job data.
+     * 
+ */ + public void getJob(com.google.cloud.video.transcoder.v1.GetJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a job.
+     * 
+ */ + public void deleteJob(com.google.cloud.video.transcoder.v1.DeleteJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a job template in the specified region.
+     * 
+ */ + public void createJobTemplate(com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateJobTemplateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists job templates in the specified region.
+     * 
+ */ + public void listJobTemplates(com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListJobTemplatesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the job template data.
+     * 
+ */ + public void getJobTemplate(com.google.cloud.video.transcoder.v1.GetJobTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetJobTemplateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a job template.
+     * 
+ */ + public void deleteJobTemplate(com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteJobTemplateMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Using the Transcoder API, you can queue asynchronous jobs for transcoding
+   * media into various output formats. Output formats may include different
+   * streaming standards such as HTTP Live Streaming (HLS) and Dynamic Adaptive
+   * Streaming over HTTP (DASH). You can also customize jobs using advanced
+   * features such as Digital Rights Management (DRM), audio equalization, content
+   * concatenation, and digital ad-stitch ready content generation.
+   * 
+ */ + public static final class TranscoderServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private TranscoderServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TranscoderServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TranscoderServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a job in the specified region.
+     * 
+ */ + public com.google.cloud.video.transcoder.v1.Job createJob(com.google.cloud.video.transcoder.v1.CreateJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists jobs in the specified region.
+     * 
+ */ + public com.google.cloud.video.transcoder.v1.ListJobsResponse listJobs(com.google.cloud.video.transcoder.v1.ListJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the job data.
+     * 
+ */ + public com.google.cloud.video.transcoder.v1.Job getJob(com.google.cloud.video.transcoder.v1.GetJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a job.
+     * 
+ */ + public com.google.protobuf.Empty deleteJob(com.google.cloud.video.transcoder.v1.DeleteJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a job template in the specified region.
+     * 
+ */ + public com.google.cloud.video.transcoder.v1.JobTemplate createJobTemplate(com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateJobTemplateMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists job templates in the specified region.
+     * 
+ */ + public com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse listJobTemplates(com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListJobTemplatesMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the job template data.
+     * 
+ */ + public com.google.cloud.video.transcoder.v1.JobTemplate getJobTemplate(com.google.cloud.video.transcoder.v1.GetJobTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJobTemplateMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a job template.
+     * 
+ */ + public com.google.protobuf.Empty deleteJobTemplate(com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteJobTemplateMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Using the Transcoder API, you can queue asynchronous jobs for transcoding
+   * media into various output formats. Output formats may include different
+   * streaming standards such as HTTP Live Streaming (HLS) and Dynamic Adaptive
+   * Streaming over HTTP (DASH). You can also customize jobs using advanced
+   * features such as Digital Rights Management (DRM), audio equalization, content
+   * concatenation, and digital ad-stitch ready content generation.
+   * 
+ */ + public static final class TranscoderServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private TranscoderServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TranscoderServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TranscoderServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a job in the specified region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createJob( + com.google.cloud.video.transcoder.v1.CreateJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists jobs in the specified region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listJobs( + com.google.cloud.video.transcoder.v1.ListJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the job data.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getJob( + com.google.cloud.video.transcoder.v1.GetJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteJob( + com.google.cloud.video.transcoder.v1.DeleteJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a job template in the specified region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createJobTemplate( + com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateJobTemplateMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists job templates in the specified region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listJobTemplates( + com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListJobTemplatesMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the job template data.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getJobTemplate( + com.google.cloud.video.transcoder.v1.GetJobTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJobTemplateMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a job template.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteJobTemplate( + com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteJobTemplateMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_JOB = 0; + private static final int METHODID_LIST_JOBS = 1; + private static final int METHODID_GET_JOB = 2; + private static final int METHODID_DELETE_JOB = 3; + private static final int METHODID_CREATE_JOB_TEMPLATE = 4; + private static final int METHODID_LIST_JOB_TEMPLATES = 5; + private static final int METHODID_GET_JOB_TEMPLATE = 6; + private static final int METHODID_DELETE_JOB_TEMPLATE = 7; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final TranscoderServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(TranscoderServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_JOB: + serviceImpl.createJob((com.google.cloud.video.transcoder.v1.CreateJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_JOBS: + serviceImpl.listJobs((com.google.cloud.video.transcoder.v1.ListJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_JOB: + serviceImpl.getJob((com.google.cloud.video.transcoder.v1.GetJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_JOB: + serviceImpl.deleteJob((com.google.cloud.video.transcoder.v1.DeleteJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_JOB_TEMPLATE: + serviceImpl.createJobTemplate((com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_JOB_TEMPLATES: + serviceImpl.listJobTemplates((com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_JOB_TEMPLATE: + serviceImpl.getJobTemplate((com.google.cloud.video.transcoder.v1.GetJobTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_JOB_TEMPLATE: + serviceImpl.deleteJobTemplate((com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class TranscoderServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + TranscoderServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("TranscoderService"); + } + } + + private static final class TranscoderServiceFileDescriptorSupplier + extends TranscoderServiceBaseDescriptorSupplier { + TranscoderServiceFileDescriptorSupplier() {} + } + + private static final class TranscoderServiceMethodDescriptorSupplier + extends TranscoderServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + TranscoderServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (TranscoderServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new TranscoderServiceFileDescriptorSupplier()) + .addMethod(getCreateJobMethod()) + .addMethod(getListJobsMethod()) + .addMethod(getGetJobMethod()) + .addMethod(getDeleteJobMethod()) + .addMethod(getCreateJobTemplateMethod()) + .addMethod(getListJobTemplatesMethod()) + .addMethod(getGetJobTemplateMethod()) + .addMethod(getDeleteJobTemplateMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AdBreak.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AdBreak.java similarity index 70% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AdBreak.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AdBreak.java index 95365ec6..3e200741 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AdBreak.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AdBreak.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Ad break.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.AdBreak} */ -public final class AdBreak extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AdBreak extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.AdBreak) AdBreakOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AdBreak.newBuilder() to construct. private AdBreak(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AdBreak() {} + private AdBreak() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AdBreak(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AdBreak( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,28 +52,26 @@ private AdBreak( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (startTimeOffset_ != null) { - subBuilder = startTimeOffset_.toBuilder(); - } - startTimeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTimeOffset_); - startTimeOffset_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (startTimeOffset_ != null) { + subBuilder = startTimeOffset_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + startTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTimeOffset_); + startTimeOffset_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,40 +79,35 @@ private AdBreak( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_AdBreak_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_AdBreak_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_AdBreak_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_AdBreak_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.AdBreak.class, - com.google.cloud.video.transcoder.v1.AdBreak.Builder.class); + com.google.cloud.video.transcoder.v1.AdBreak.class, com.google.cloud.video.transcoder.v1.AdBreak.Builder.class); } public static final int START_TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration startTimeOffset_; /** - * - * *
    * Start time in seconds for the ad break, relative to the output file
    * timeline. The default is `0s`.
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ @java.lang.Override @@ -138,26 +115,19 @@ public boolean hasStartTimeOffset() { return startTimeOffset_ != null; } /** - * - * *
    * Start time in seconds for the ad break, relative to the output file
    * timeline. The default is `0s`.
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return The startTimeOffset. */ @java.lang.Override public com.google.protobuf.Duration getStartTimeOffset() { - return startTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : startTimeOffset_; + return startTimeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTimeOffset_; } /** - * - * *
    * Start time in seconds for the ad break, relative to the output file
    * timeline. The default is `0s`.
@@ -171,7 +141,6 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -183,7 +152,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (startTimeOffset_ != null) {
       output.writeMessage(1, getStartTimeOffset());
     }
@@ -197,7 +167,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTimeOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getStartTimeOffset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -207,17 +178,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.video.transcoder.v1.AdBreak)) {
       return super.equals(obj);
     }
-    com.google.cloud.video.transcoder.v1.AdBreak other =
-        (com.google.cloud.video.transcoder.v1.AdBreak) obj;
+    com.google.cloud.video.transcoder.v1.AdBreak other = (com.google.cloud.video.transcoder.v1.AdBreak) obj;
 
     if (hasStartTimeOffset() != other.hasStartTimeOffset()) return false;
     if (hasStartTimeOffset()) {
-      if (!getStartTimeOffset().equals(other.getStartTimeOffset())) return false;
+      if (!getStartTimeOffset()
+          .equals(other.getStartTimeOffset())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -239,127 +210,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.video.transcoder.v1.AdBreak parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.video.transcoder.v1.AdBreak parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.transcoder.v1.AdBreak parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.AdBreak parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.transcoder.v1.AdBreak parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.AdBreak parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.transcoder.v1.AdBreak parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.AdBreak parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.transcoder.v1.AdBreak parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.video.transcoder.v1.AdBreak parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.video.transcoder.v1.AdBreak parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.transcoder.v1.AdBreak parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.AdBreak parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.transcoder.v1.AdBreak parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.video.transcoder.v1.AdBreak prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Ad break.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.AdBreak} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.AdBreak) com.google.cloud.video.transcoder.v1.AdBreakOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_AdBreak_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_AdBreak_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_AdBreak_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_AdBreak_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.AdBreak.class, - com.google.cloud.video.transcoder.v1.AdBreak.Builder.class); + com.google.cloud.video.transcoder.v1.AdBreak.class, com.google.cloud.video.transcoder.v1.AdBreak.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.AdBreak.newBuilder() @@ -367,15 +329,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_AdBreak_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_AdBreak_descriptor; } @java.lang.Override @@ -410,8 +373,7 @@ public com.google.cloud.video.transcoder.v1.AdBreak build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.AdBreak buildPartial() { - com.google.cloud.video.transcoder.v1.AdBreak result = - new com.google.cloud.video.transcoder.v1.AdBreak(this); + com.google.cloud.video.transcoder.v1.AdBreak result = new com.google.cloud.video.transcoder.v1.AdBreak(this); if (startTimeOffsetBuilder_ == null) { result.startTimeOffset_ = startTimeOffset_; } else { @@ -425,39 +387,38 @@ public com.google.cloud.video.transcoder.v1.AdBreak buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.AdBreak) { - return mergeFrom((com.google.cloud.video.transcoder.v1.AdBreak) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.AdBreak)other); } else { super.mergeFrom(other); return this; @@ -500,49 +461,36 @@ public Builder mergeFrom( private com.google.protobuf.Duration startTimeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - startTimeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> startTimeOffsetBuilder_; /** - * - * *
      * Start time in seconds for the ad break, relative to the output file
      * timeline. The default is `0s`.
      * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ public boolean hasStartTimeOffset() { return startTimeOffsetBuilder_ != null || startTimeOffset_ != null; } /** - * - * *
      * Start time in seconds for the ad break, relative to the output file
      * timeline. The default is `0s`.
      * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return The startTimeOffset. */ public com.google.protobuf.Duration getStartTimeOffset() { if (startTimeOffsetBuilder_ == null) { - return startTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : startTimeOffset_; + return startTimeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTimeOffset_; } else { return startTimeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Start time in seconds for the ad break, relative to the output file
      * timeline. The default is `0s`.
@@ -564,8 +512,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start time in seconds for the ad break, relative to the output file
      * timeline. The default is `0s`.
@@ -573,7 +519,8 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration start_time_offset = 1;
      */
-    public Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStartTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (startTimeOffsetBuilder_ == null) {
         startTimeOffset_ = builderForValue.build();
         onChanged();
@@ -584,8 +531,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Start time in seconds for the ad break, relative to the output file
      * timeline. The default is `0s`.
@@ -597,9 +542,7 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) {
       if (startTimeOffsetBuilder_ == null) {
         if (startTimeOffset_ != null) {
           startTimeOffset_ =
-              com.google.protobuf.Duration.newBuilder(startTimeOffset_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(startTimeOffset_).mergeFrom(value).buildPartial();
         } else {
           startTimeOffset_ = value;
         }
@@ -611,8 +554,6 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start time in seconds for the ad break, relative to the output file
      * timeline. The default is `0s`.
@@ -632,8 +573,6 @@ public Builder clearStartTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start time in seconds for the ad break, relative to the output file
      * timeline. The default is `0s`.
@@ -642,13 +581,11 @@ public Builder clearStartTimeOffset() {
      * .google.protobuf.Duration start_time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder() {
-
+      
       onChanged();
       return getStartTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Start time in seconds for the ad break, relative to the output file
      * timeline. The default is `0s`.
@@ -660,14 +597,11 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() {
       if (startTimeOffsetBuilder_ != null) {
         return startTimeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return startTimeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : startTimeOffset_;
+        return startTimeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : startTimeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * Start time in seconds for the ad break, relative to the output file
      * timeline. The default is `0s`.
@@ -676,24 +610,21 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() {
      * .google.protobuf.Duration start_time_offset = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getStartTimeOffsetFieldBuilder() {
       if (startTimeOffsetBuilder_ == null) {
-        startTimeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getStartTimeOffset(), getParentForChildren(), isClean());
+        startTimeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getStartTimeOffset(),
+                getParentForChildren(),
+                isClean());
         startTimeOffset_ = null;
       }
       return startTimeOffsetBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -703,12 +634,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.AdBreak)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.AdBreak)
   private static final com.google.cloud.video.transcoder.v1.AdBreak DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.AdBreak();
   }
@@ -717,16 +648,16 @@ public static com.google.cloud.video.transcoder.v1.AdBreak getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AdBreak parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new AdBreak(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AdBreak parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new AdBreak(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -741,4 +672,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.video.transcoder.v1.AdBreak getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AdBreakOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AdBreakOrBuilder.java
similarity index 63%
rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AdBreakOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AdBreakOrBuilder.java
index 6026fb6d..77e1935a 100644
--- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AdBreakOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AdBreakOrBuilder.java
@@ -1,57 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/video/transcoder/v1/resources.proto
 
 package com.google.cloud.video.transcoder.v1;
 
-public interface AdBreakOrBuilder
-    extends
+public interface AdBreakOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.AdBreak)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Start time in seconds for the ad break, relative to the output file
    * timeline. The default is `0s`.
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ boolean hasStartTimeOffset(); /** - * - * *
    * Start time in seconds for the ad break, relative to the output file
    * timeline. The default is `0s`.
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return The startTimeOffset. */ com.google.protobuf.Duration getStartTimeOffset(); /** - * - * *
    * Start time in seconds for the ad break, relative to the output file
    * timeline. The default is `0s`.
diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStream.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStream.java
similarity index 77%
rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStream.java
rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStream.java
index f971296a..a308ad7d 100644
--- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStream.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStream.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/video/transcoder/v1/resources.proto
 
 package com.google.cloud.video.transcoder.v1;
 
 /**
- *
- *
  * 
  * Audio stream resource.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.AudioStream} */ -public final class AudioStream extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AudioStream extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.AudioStream) AudioStreamOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AudioStream.newBuilder() to construct. private AudioStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AudioStream() { codec_ = ""; channelLayout_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -45,15 +27,16 @@ private AudioStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AudioStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AudioStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,59 +56,52 @@ private AudioStream( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - codec_ = s; - break; - } - case 16: - { - bitrateBps_ = input.readInt32(); - break; - } - case 24: - { - channelCount_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - channelLayout_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - channelLayout_.add(s); - break; - } - case 42: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - mapping_ = - new java.util.ArrayList< - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping>(); - mutable_bitField0_ |= 0x00000002; - } - mapping_.add( - input.readMessage( - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.parser(), - extensionRegistry)); - break; + codec_ = s; + break; + } + case 16: { + + bitrateBps_ = input.readInt32(); + break; + } + case 24: { + + channelCount_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + channelLayout_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 48: - { - sampleRateHertz_ = input.readInt32(); - break; + channelLayout_.add(s); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + mapping_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + mapping_.add( + input.readMessage(com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.parser(), extensionRegistry)); + break; + } + case 48: { + + sampleRateHertz_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -133,7 +109,8 @@ private AudioStream( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { channelLayout_ = channelLayout_.getUnmodifiableView(); @@ -145,151 +122,122 @@ private AudioStream( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_AudioStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_AudioStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_AudioStream_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_AudioStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.AudioStream.class, - com.google.cloud.video.transcoder.v1.AudioStream.Builder.class); + com.google.cloud.video.transcoder.v1.AudioStream.class, com.google.cloud.video.transcoder.v1.AudioStream.Builder.class); } - public interface AudioMappingOrBuilder - extends + public interface AudioMappingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.AudioStream.AudioMapping) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The `EditAtom.key` that references the atom with audio inputs in the
      * `Job.edit_list`.
      * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The atomKey. */ java.lang.String getAtomKey(); /** - * - * *
      * Required. The `EditAtom.key` that references the atom with audio inputs in the
      * `Job.edit_list`.
      * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for atomKey. */ - com.google.protobuf.ByteString getAtomKeyBytes(); + com.google.protobuf.ByteString + getAtomKeyBytes(); /** - * - * *
      * Required. The `Input.key` that identifies the input file.
      * 
* * string input_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputKey. */ java.lang.String getInputKey(); /** - * - * *
      * Required. The `Input.key` that identifies the input file.
      * 
* * string input_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for inputKey. */ - com.google.protobuf.ByteString getInputKeyBytes(); + com.google.protobuf.ByteString + getInputKeyBytes(); /** - * - * *
      * Required. The zero-based index of the track in the input file.
      * 
* * int32 input_track = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputTrack. */ int getInputTrack(); /** - * - * *
      * Required. The zero-based index of the channel in the input audio stream.
      * 
* * int32 input_channel = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputChannel. */ int getInputChannel(); /** - * - * *
      * Required. The zero-based index of the channel in the output audio stream.
      * 
* * int32 output_channel = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The outputChannel. */ int getOutputChannel(); /** - * - * *
      * Audio volume control in dB. Negative values decrease volume,
      * positive values increase. The default is 0.
      * 
* * double gain_db = 6; - * * @return The gainDb. */ double getGainDb(); } /** - * - * *
    * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.AudioStream.AudioMapping} */ - public static final class AudioMapping extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AudioMapping extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.AudioStream.AudioMapping) AudioMappingOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AudioMapping.newBuilder() to construct. private AudioMapping(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AudioMapping() { atomKey_ = ""; inputKey_ = ""; @@ -297,15 +245,16 @@ private AudioMapping() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AudioMapping(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AudioMapping( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -324,47 +273,45 @@ private AudioMapping( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - atomKey_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + atomKey_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - inputKey_ = s; - break; - } - case 24: - { - inputTrack_ = input.readInt32(); - break; - } - case 32: - { - inputChannel_ = input.readInt32(); - break; - } - case 40: - { - outputChannel_ = input.readInt32(); - break; - } - case 49: - { - gainDb_ = input.readDouble(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + inputKey_ = s; + break; + } + case 24: { + + inputTrack_ = input.readInt32(); + break; + } + case 32: { + + inputChannel_ = input.readInt32(); + break; + } + case 40: { + + outputChannel_ = input.readInt32(); + break; + } + case 49: { + + gainDb_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -372,40 +319,35 @@ private AudioMapping( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_AudioStream_AudioMapping_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_AudioStream_AudioMapping_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_AudioStream_AudioMapping_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_AudioStream_AudioMapping_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.class, - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder.class); + com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.class, com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder.class); } public static final int ATOM_KEY_FIELD_NUMBER = 1; private volatile java.lang.Object atomKey_; /** - * - * *
      * Required. The `EditAtom.key` that references the atom with audio inputs in the
      * `Job.edit_list`.
      * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The atomKey. */ @java.lang.Override @@ -414,30 +356,30 @@ public java.lang.String getAtomKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); atomKey_ = s; return s; } } /** - * - * *
      * Required. The `EditAtom.key` that references the atom with audio inputs in the
      * `Job.edit_list`.
      * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for atomKey. */ @java.lang.Override - public com.google.protobuf.ByteString getAtomKeyBytes() { + public com.google.protobuf.ByteString + getAtomKeyBytes() { java.lang.Object ref = atomKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); atomKey_ = b; return b; } else { @@ -448,14 +390,11 @@ public com.google.protobuf.ByteString getAtomKeyBytes() { public static final int INPUT_KEY_FIELD_NUMBER = 2; private volatile java.lang.Object inputKey_; /** - * - * *
      * Required. The `Input.key` that identifies the input file.
      * 
* * string input_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputKey. */ @java.lang.Override @@ -464,29 +403,29 @@ public java.lang.String getInputKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputKey_ = s; return s; } } /** - * - * *
      * Required. The `Input.key` that identifies the input file.
      * 
* * string input_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for inputKey. */ @java.lang.Override - public com.google.protobuf.ByteString getInputKeyBytes() { + public com.google.protobuf.ByteString + getInputKeyBytes() { java.lang.Object ref = inputKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputKey_ = b; return b; } else { @@ -497,14 +436,11 @@ public com.google.protobuf.ByteString getInputKeyBytes() { public static final int INPUT_TRACK_FIELD_NUMBER = 3; private int inputTrack_; /** - * - * *
      * Required. The zero-based index of the track in the input file.
      * 
* * int32 input_track = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputTrack. */ @java.lang.Override @@ -515,14 +451,11 @@ public int getInputTrack() { public static final int INPUT_CHANNEL_FIELD_NUMBER = 4; private int inputChannel_; /** - * - * *
      * Required. The zero-based index of the channel in the input audio stream.
      * 
* * int32 input_channel = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputChannel. */ @java.lang.Override @@ -533,14 +466,11 @@ public int getInputChannel() { public static final int OUTPUT_CHANNEL_FIELD_NUMBER = 5; private int outputChannel_; /** - * - * *
      * Required. The zero-based index of the channel in the output audio stream.
      * 
* * int32 output_channel = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The outputChannel. */ @java.lang.Override @@ -551,15 +481,12 @@ public int getOutputChannel() { public static final int GAIN_DB_FIELD_NUMBER = 6; private double gainDb_; /** - * - * *
      * Audio volume control in dB. Negative values decrease volume,
      * positive values increase. The default is 0.
      * 
* * double gain_db = 6; - * * @return The gainDb. */ @java.lang.Override @@ -568,7 +495,6 @@ public double getGainDb() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -580,7 +506,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(atomKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, atomKey_); } @@ -615,16 +542,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inputKey_); } if (inputTrack_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, inputTrack_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, inputTrack_); } if (inputChannel_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, inputChannel_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, inputChannel_); } if (outputChannel_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, outputChannel_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, outputChannel_); } if (java.lang.Double.doubleToRawLongBits(gainDb_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(6, gainDb_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(6, gainDb_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -634,21 +565,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping other = - (com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping) obj; - - if (!getAtomKey().equals(other.getAtomKey())) return false; - if (!getInputKey().equals(other.getInputKey())) return false; - if (getInputTrack() != other.getInputTrack()) return false; - if (getInputChannel() != other.getInputChannel()) return false; - if (getOutputChannel() != other.getOutputChannel()) return false; + com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping other = (com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping) obj; + + if (!getAtomKey() + .equals(other.getAtomKey())) return false; + if (!getInputKey() + .equals(other.getInputKey())) return false; + if (getInputTrack() + != other.getInputTrack()) return false; + if (getInputChannel() + != other.getInputChannel()) return false; + if (getOutputChannel() + != other.getOutputChannel()) return false; if (java.lang.Double.doubleToLongBits(getGainDb()) - != java.lang.Double.doubleToLongBits(other.getGainDb())) return false; + != java.lang.Double.doubleToLongBits( + other.getGainDb())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -671,104 +607,95 @@ public int hashCode() { hash = (37 * hash) + OUTPUT_CHANNEL_FIELD_NUMBER; hash = (53 * hash) + getOutputChannel(); hash = (37 * hash) + GAIN_DB_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getGainDb())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getGainDb())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -778,32 +705,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.AudioStream.AudioMapping} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.AudioStream.AudioMapping) com.google.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_AudioStream_AudioMapping_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_AudioStream_AudioMapping_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_AudioStream_AudioMapping_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_AudioStream_AudioMapping_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.class, - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder.class); + com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.class, com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.newBuilder() @@ -811,15 +733,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -839,14 +762,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_AudioStream_AudioMapping_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_AudioStream_AudioMapping_descriptor; } @java.lang.Override - public com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping - getDefaultInstanceForType() { + public com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping getDefaultInstanceForType() { return com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.getDefaultInstance(); } @@ -861,8 +783,7 @@ public com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping buildPartial() { - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping result = - new com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping(this); + com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping result = new com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping(this); result.atomKey_ = atomKey_; result.inputKey_ = inputKey_; result.inputTrack_ = inputTrack_; @@ -877,52 +798,46 @@ public com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.AudioStream.AudioMapping) { - return mergeFrom((com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping other) { - if (other - == com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping other) { + if (other == com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.getDefaultInstance()) return this; if (!other.getAtomKey().isEmpty()) { atomKey_ = other.atomKey_; onChanged(); @@ -962,9 +877,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -976,21 +889,19 @@ public Builder mergeFrom( private java.lang.Object atomKey_ = ""; /** - * - * *
        * Required. The `EditAtom.key` that references the atom with audio inputs in the
        * `Job.edit_list`.
        * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The atomKey. */ public java.lang.String getAtomKey() { java.lang.Object ref = atomKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); atomKey_ = s; return s; @@ -999,22 +910,21 @@ public java.lang.String getAtomKey() { } } /** - * - * *
        * Required. The `EditAtom.key` that references the atom with audio inputs in the
        * `Job.edit_list`.
        * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for atomKey. */ - public com.google.protobuf.ByteString getAtomKeyBytes() { + public com.google.protobuf.ByteString + getAtomKeyBytes() { java.lang.Object ref = atomKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); atomKey_ = b; return b; } else { @@ -1022,64 +932,57 @@ public com.google.protobuf.ByteString getAtomKeyBytes() { } } /** - * - * *
        * Required. The `EditAtom.key` that references the atom with audio inputs in the
        * `Job.edit_list`.
        * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The atomKey to set. * @return This builder for chaining. */ - public Builder setAtomKey(java.lang.String value) { + public Builder setAtomKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + atomKey_ = value; onChanged(); return this; } /** - * - * *
        * Required. The `EditAtom.key` that references the atom with audio inputs in the
        * `Job.edit_list`.
        * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAtomKey() { - + atomKey_ = getDefaultInstance().getAtomKey(); onChanged(); return this; } /** - * - * *
        * Required. The `EditAtom.key` that references the atom with audio inputs in the
        * `Job.edit_list`.
        * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for atomKey to set. * @return This builder for chaining. */ - public Builder setAtomKeyBytes(com.google.protobuf.ByteString value) { + public Builder setAtomKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + atomKey_ = value; onChanged(); return this; @@ -1087,20 +990,18 @@ public Builder setAtomKeyBytes(com.google.protobuf.ByteString value) { private java.lang.Object inputKey_ = ""; /** - * - * *
        * Required. The `Input.key` that identifies the input file.
        * 
* * string input_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputKey. */ public java.lang.String getInputKey() { java.lang.Object ref = inputKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputKey_ = s; return s; @@ -1109,21 +1010,20 @@ public java.lang.String getInputKey() { } } /** - * - * *
        * Required. The `Input.key` that identifies the input file.
        * 
* * string input_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for inputKey. */ - public com.google.protobuf.ByteString getInputKeyBytes() { + public com.google.protobuf.ByteString + getInputKeyBytes() { java.lang.Object ref = inputKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputKey_ = b; return b; } else { @@ -1131,76 +1031,66 @@ public com.google.protobuf.ByteString getInputKeyBytes() { } } /** - * - * *
        * Required. The `Input.key` that identifies the input file.
        * 
* * string input_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The inputKey to set. * @return This builder for chaining. */ - public Builder setInputKey(java.lang.String value) { + public Builder setInputKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputKey_ = value; onChanged(); return this; } /** - * - * *
        * Required. The `Input.key` that identifies the input file.
        * 
* * string input_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInputKey() { - + inputKey_ = getDefaultInstance().getInputKey(); onChanged(); return this; } /** - * - * *
        * Required. The `Input.key` that identifies the input file.
        * 
* * string input_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for inputKey to set. * @return This builder for chaining. */ - public Builder setInputKeyBytes(com.google.protobuf.ByteString value) { + public Builder setInputKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputKey_ = value; onChanged(); return this; } - private int inputTrack_; + private int inputTrack_ ; /** - * - * *
        * Required. The zero-based index of the track in the input file.
        * 
* * int32 input_track = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputTrack. */ @java.lang.Override @@ -1208,51 +1098,42 @@ public int getInputTrack() { return inputTrack_; } /** - * - * *
        * Required. The zero-based index of the track in the input file.
        * 
* * int32 input_track = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The inputTrack to set. * @return This builder for chaining. */ public Builder setInputTrack(int value) { - + inputTrack_ = value; onChanged(); return this; } /** - * - * *
        * Required. The zero-based index of the track in the input file.
        * 
* * int32 input_track = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInputTrack() { - + inputTrack_ = 0; onChanged(); return this; } - private int inputChannel_; + private int inputChannel_ ; /** - * - * *
        * Required. The zero-based index of the channel in the input audio stream.
        * 
* * int32 input_channel = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputChannel. */ @java.lang.Override @@ -1260,51 +1141,42 @@ public int getInputChannel() { return inputChannel_; } /** - * - * *
        * Required. The zero-based index of the channel in the input audio stream.
        * 
* * int32 input_channel = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The inputChannel to set. * @return This builder for chaining. */ public Builder setInputChannel(int value) { - + inputChannel_ = value; onChanged(); return this; } /** - * - * *
        * Required. The zero-based index of the channel in the input audio stream.
        * 
* * int32 input_channel = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInputChannel() { - + inputChannel_ = 0; onChanged(); return this; } - private int outputChannel_; + private int outputChannel_ ; /** - * - * *
        * Required. The zero-based index of the channel in the output audio stream.
        * 
* * int32 output_channel = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The outputChannel. */ @java.lang.Override @@ -1312,52 +1184,43 @@ public int getOutputChannel() { return outputChannel_; } /** - * - * *
        * Required. The zero-based index of the channel in the output audio stream.
        * 
* * int32 output_channel = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The outputChannel to set. * @return This builder for chaining. */ public Builder setOutputChannel(int value) { - + outputChannel_ = value; onChanged(); return this; } /** - * - * *
        * Required. The zero-based index of the channel in the output audio stream.
        * 
* * int32 output_channel = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearOutputChannel() { - + outputChannel_ = 0; onChanged(); return this; } - private double gainDb_; + private double gainDb_ ; /** - * - * *
        * Audio volume control in dB. Negative values decrease volume,
        * positive values increase. The default is 0.
        * 
* * double gain_db = 6; - * * @return The gainDb. */ @java.lang.Override @@ -1365,43 +1228,36 @@ public double getGainDb() { return gainDb_; } /** - * - * *
        * Audio volume control in dB. Negative values decrease volume,
        * positive values increase. The default is 0.
        * 
* * double gain_db = 6; - * * @param value The gainDb to set. * @return This builder for chaining. */ public Builder setGainDb(double value) { - + gainDb_ = value; onChanged(); return this; } /** - * - * *
        * Audio volume control in dB. Negative values decrease volume,
        * positive values increase. The default is 0.
        * 
* * double gain_db = 6; - * * @return This builder for chaining. */ public Builder clearGainDb() { - + gainDb_ = 0D; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1414,32 +1270,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.AudioStream.AudioMapping) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.AudioStream.AudioMapping) - private static final com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping(); } - public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping - getDefaultInstance() { + public static com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudioMapping parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AudioMapping(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudioMapping parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AudioMapping(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1451,17 +1305,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping - getDefaultInstanceForType() { + public com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int CODEC_FIELD_NUMBER = 1; private volatile java.lang.Object codec_; /** - * - * *
    * The codec for this audio stream. The default is `aac`.
    * Supported audio codecs:
@@ -1474,7 +1326,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string codec = 1; - * * @return The codec. */ @java.lang.Override @@ -1483,15 +1334,14 @@ public java.lang.String getCodec() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; } } /** - * - * *
    * The codec for this audio stream. The default is `aac`.
    * Supported audio codecs:
@@ -1504,15 +1354,16 @@ public java.lang.String getCodec() {
    * 
* * string codec = 1; - * * @return The bytes for codec. */ @java.lang.Override - public com.google.protobuf.ByteString getCodecBytes() { + public com.google.protobuf.ByteString + getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); codec_ = b; return b; } else { @@ -1523,14 +1374,11 @@ public com.google.protobuf.ByteString getCodecBytes() { public static final int BITRATE_BPS_FIELD_NUMBER = 2; private int bitrateBps_; /** - * - * *
    * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
    * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bitrateBps. */ @java.lang.Override @@ -1541,14 +1389,11 @@ public int getBitrateBps() { public static final int CHANNEL_COUNT_FIELD_NUMBER = 3; private int channelCount_; /** - * - * *
    * Number of audio channels. Must be between 1 and 6. The default is 2.
    * 
* * int32 channel_count = 3; - * * @return The channelCount. */ @java.lang.Override @@ -1559,8 +1404,6 @@ public int getChannelCount() { public static final int CHANNEL_LAYOUT_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList channelLayout_; /** - * - * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -1575,15 +1418,13 @@ public int getChannelCount() {
    * 
* * repeated string channel_layout = 4; - * * @return A list containing the channelLayout. */ - public com.google.protobuf.ProtocolStringList getChannelLayoutList() { + public com.google.protobuf.ProtocolStringList + getChannelLayoutList() { return channelLayout_; } /** - * - * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -1598,15 +1439,12 @@ public com.google.protobuf.ProtocolStringList getChannelLayoutList() {
    * 
* * repeated string channel_layout = 4; - * * @return The count of channelLayout. */ public int getChannelLayoutCount() { return channelLayout_.size(); } /** - * - * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -1621,7 +1459,6 @@ public int getChannelLayoutCount() {
    * 
* * repeated string channel_layout = 4; - * * @param index The index of the element to return. * @return The channelLayout at the given index. */ @@ -1629,8 +1466,6 @@ public java.lang.String getChannelLayout(int index) { return channelLayout_.get(index); } /** - * - * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -1645,19 +1480,17 @@ public java.lang.String getChannelLayout(int index) {
    * 
* * repeated string channel_layout = 4; - * * @param index The index of the value to return. * @return The bytes of the channelLayout at the given index. */ - public com.google.protobuf.ByteString getChannelLayoutBytes(int index) { + public com.google.protobuf.ByteString + getChannelLayoutBytes(int index) { return channelLayout_.getByteString(index); } public static final int MAPPING_FIELD_NUMBER = 5; private java.util.List mapping_; /** - * - * *
    * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
    * 
@@ -1665,13 +1498,10 @@ public com.google.protobuf.ByteString getChannelLayoutBytes(int index) { * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ @java.lang.Override - public java.util.List - getMappingList() { + public java.util.List getMappingList() { return mapping_; } /** - * - * *
    * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
    * 
@@ -1679,14 +1509,11 @@ public com.google.protobuf.ByteString getChannelLayoutBytes(int index) { * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder> + public java.util.List getMappingOrBuilderList() { return mapping_; } /** - * - * *
    * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
    * 
@@ -1698,8 +1525,6 @@ public int getMappingCount() { return mapping_.size(); } /** - * - * *
    * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
    * 
@@ -1711,8 +1536,6 @@ public com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping getMapping( return mapping_.get(index); } /** - * - * *
    * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
    * 
@@ -1728,14 +1551,11 @@ public com.google.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder ge public static final int SAMPLE_RATE_HERTZ_FIELD_NUMBER = 6; private int sampleRateHertz_; /** - * - * *
    * The audio sample rate in Hertz. The default is 48000 Hertz.
    * 
* * int32 sample_rate_hertz = 6; - * * @return The sampleRateHertz. */ @java.lang.Override @@ -1744,7 +1564,6 @@ public int getSampleRateHertz() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1756,7 +1575,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, codec_); } @@ -1788,10 +1608,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, codec_); } if (bitrateBps_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, bitrateBps_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, bitrateBps_); } if (channelCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, channelCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, channelCount_); } { int dataSize = 0; @@ -1802,10 +1624,12 @@ public int getSerializedSize() { size += 1 * getChannelLayoutList().size(); } for (int i = 0; i < mapping_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, mapping_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, mapping_.get(i)); } if (sampleRateHertz_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, sampleRateHertz_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, sampleRateHertz_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1815,20 +1639,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.AudioStream)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.AudioStream other = - (com.google.cloud.video.transcoder.v1.AudioStream) obj; - - if (!getCodec().equals(other.getCodec())) return false; - if (getBitrateBps() != other.getBitrateBps()) return false; - if (getChannelCount() != other.getChannelCount()) return false; - if (!getChannelLayoutList().equals(other.getChannelLayoutList())) return false; - if (!getMappingList().equals(other.getMappingList())) return false; - if (getSampleRateHertz() != other.getSampleRateHertz()) return false; + com.google.cloud.video.transcoder.v1.AudioStream other = (com.google.cloud.video.transcoder.v1.AudioStream) obj; + + if (!getCodec() + .equals(other.getCodec())) return false; + if (getBitrateBps() + != other.getBitrateBps()) return false; + if (getChannelCount() + != other.getChannelCount()) return false; + if (!getChannelLayoutList() + .equals(other.getChannelLayoutList())) return false; + if (!getMappingList() + .equals(other.getMappingList())) return false; + if (getSampleRateHertz() + != other.getSampleRateHertz()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1861,127 +1690,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.transcoder.v1.AudioStream parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.video.transcoder.v1.AudioStream parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.AudioStream parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.AudioStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.AudioStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.AudioStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.AudioStream parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.AudioStream parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.AudioStream parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.AudioStream parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.AudioStream parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.AudioStream parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.AudioStream parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.AudioStream parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.AudioStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.transcoder.v1.AudioStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Audio stream resource.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.AudioStream} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.AudioStream) com.google.cloud.video.transcoder.v1.AudioStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_AudioStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_AudioStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_AudioStream_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_AudioStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.AudioStream.class, - com.google.cloud.video.transcoder.v1.AudioStream.Builder.class); + com.google.cloud.video.transcoder.v1.AudioStream.class, com.google.cloud.video.transcoder.v1.AudioStream.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.AudioStream.newBuilder() @@ -1989,17 +1809,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMappingFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2023,9 +1843,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_AudioStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_AudioStream_descriptor; } @java.lang.Override @@ -2044,8 +1864,7 @@ public com.google.cloud.video.transcoder.v1.AudioStream build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.AudioStream buildPartial() { - com.google.cloud.video.transcoder.v1.AudioStream result = - new com.google.cloud.video.transcoder.v1.AudioStream(this); + com.google.cloud.video.transcoder.v1.AudioStream result = new com.google.cloud.video.transcoder.v1.AudioStream(this); int from_bitField0_ = bitField0_; result.codec_ = codec_; result.bitrateBps_ = bitrateBps_; @@ -2073,39 +1892,38 @@ public com.google.cloud.video.transcoder.v1.AudioStream buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.AudioStream) { - return mergeFrom((com.google.cloud.video.transcoder.v1.AudioStream) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.AudioStream)other); } else { super.mergeFrom(other); return this; @@ -2113,8 +1931,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.transcoder.v1.AudioStream other) { - if (other == com.google.cloud.video.transcoder.v1.AudioStream.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.transcoder.v1.AudioStream.getDefaultInstance()) return this; if (!other.getCodec().isEmpty()) { codec_ = other.codec_; onChanged(); @@ -2153,10 +1970,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.AudioStream other) mappingBuilder_ = null; mapping_ = other.mapping_; bitField0_ = (bitField0_ & ~0x00000002); - mappingBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMappingFieldBuilder() - : null; + mappingBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMappingFieldBuilder() : null; } else { mappingBuilder_.addAllMessages(other.mapping_); } @@ -2193,13 +2009,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object codec_ = ""; /** - * - * *
      * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
@@ -2212,13 +2025,13 @@ public Builder mergeFrom(
      * 
* * string codec = 1; - * * @return The codec. */ public java.lang.String getCodec() { java.lang.Object ref = codec_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; @@ -2227,8 +2040,6 @@ public java.lang.String getCodec() { } } /** - * - * *
      * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
@@ -2241,14 +2052,15 @@ public java.lang.String getCodec() {
      * 
* * string codec = 1; - * * @return The bytes for codec. */ - public com.google.protobuf.ByteString getCodecBytes() { + public com.google.protobuf.ByteString + getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); codec_ = b; return b; } else { @@ -2256,8 +2068,6 @@ public com.google.protobuf.ByteString getCodecBytes() { } } /** - * - * *
      * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
@@ -2270,22 +2080,20 @@ public com.google.protobuf.ByteString getCodecBytes() {
      * 
* * string codec = 1; - * * @param value The codec to set. * @return This builder for chaining. */ - public Builder setCodec(java.lang.String value) { + public Builder setCodec( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + codec_ = value; onChanged(); return this; } /** - * - * *
      * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
@@ -2298,18 +2106,15 @@ public Builder setCodec(java.lang.String value) {
      * 
* * string codec = 1; - * * @return This builder for chaining. */ public Builder clearCodec() { - + codec_ = getDefaultInstance().getCodec(); onChanged(); return this; } /** - * - * *
      * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
@@ -2322,31 +2127,28 @@ public Builder clearCodec() {
      * 
* * string codec = 1; - * * @param value The bytes for codec to set. * @return This builder for chaining. */ - public Builder setCodecBytes(com.google.protobuf.ByteString value) { + public Builder setCodecBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + codec_ = value; onChanged(); return this; } - private int bitrateBps_; + private int bitrateBps_ ; /** - * - * *
      * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
      * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bitrateBps. */ @java.lang.Override @@ -2354,51 +2156,42 @@ public int getBitrateBps() { return bitrateBps_; } /** - * - * *
      * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
      * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bitrateBps to set. * @return This builder for chaining. */ public Builder setBitrateBps(int value) { - + bitrateBps_ = value; onChanged(); return this; } /** - * - * *
      * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
      * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBitrateBps() { - + bitrateBps_ = 0; onChanged(); return this; } - private int channelCount_; + private int channelCount_ ; /** - * - * *
      * Number of audio channels. Must be between 1 and 6. The default is 2.
      * 
* * int32 channel_count = 3; - * * @return The channelCount. */ @java.lang.Override @@ -2406,53 +2199,43 @@ public int getChannelCount() { return channelCount_; } /** - * - * *
      * Number of audio channels. Must be between 1 and 6. The default is 2.
      * 
* * int32 channel_count = 3; - * * @param value The channelCount to set. * @return This builder for chaining. */ public Builder setChannelCount(int value) { - + channelCount_ = value; onChanged(); return this; } /** - * - * *
      * Number of audio channels. Must be between 1 and 6. The default is 2.
      * 
* * int32 channel_count = 3; - * * @return This builder for chaining. */ public Builder clearChannelCount() { - + channelCount_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList channelLayout_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList channelLayout_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureChannelLayoutIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { channelLayout_ = new com.google.protobuf.LazyStringArrayList(channelLayout_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2467,15 +2250,13 @@ private void ensureChannelLayoutIsMutable() {
      * 
* * repeated string channel_layout = 4; - * * @return A list containing the channelLayout. */ - public com.google.protobuf.ProtocolStringList getChannelLayoutList() { + public com.google.protobuf.ProtocolStringList + getChannelLayoutList() { return channelLayout_.getUnmodifiableView(); } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2490,15 +2271,12 @@ public com.google.protobuf.ProtocolStringList getChannelLayoutList() {
      * 
* * repeated string channel_layout = 4; - * * @return The count of channelLayout. */ public int getChannelLayoutCount() { return channelLayout_.size(); } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2513,7 +2291,6 @@ public int getChannelLayoutCount() {
      * 
* * repeated string channel_layout = 4; - * * @param index The index of the element to return. * @return The channelLayout at the given index. */ @@ -2521,8 +2298,6 @@ public java.lang.String getChannelLayout(int index) { return channelLayout_.get(index); } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2537,16 +2312,14 @@ public java.lang.String getChannelLayout(int index) {
      * 
* * repeated string channel_layout = 4; - * * @param index The index of the value to return. * @return The bytes of the channelLayout at the given index. */ - public com.google.protobuf.ByteString getChannelLayoutBytes(int index) { + public com.google.protobuf.ByteString + getChannelLayoutBytes(int index) { return channelLayout_.getByteString(index); } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2561,23 +2334,21 @@ public com.google.protobuf.ByteString getChannelLayoutBytes(int index) {
      * 
* * repeated string channel_layout = 4; - * * @param index The index to set the value at. * @param value The channelLayout to set. * @return This builder for chaining. */ - public Builder setChannelLayout(int index, java.lang.String value) { + public Builder setChannelLayout( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChannelLayoutIsMutable(); + throw new NullPointerException(); + } + ensureChannelLayoutIsMutable(); channelLayout_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2592,22 +2363,20 @@ public Builder setChannelLayout(int index, java.lang.String value) {
      * 
* * repeated string channel_layout = 4; - * * @param value The channelLayout to add. * @return This builder for chaining. */ - public Builder addChannelLayout(java.lang.String value) { + public Builder addChannelLayout( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChannelLayoutIsMutable(); + throw new NullPointerException(); + } + ensureChannelLayoutIsMutable(); channelLayout_.add(value); onChanged(); return this; } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2622,19 +2391,18 @@ public Builder addChannelLayout(java.lang.String value) {
      * 
* * repeated string channel_layout = 4; - * * @param values The channelLayout to add. * @return This builder for chaining. */ - public Builder addAllChannelLayout(java.lang.Iterable values) { + public Builder addAllChannelLayout( + java.lang.Iterable values) { ensureChannelLayoutIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, channelLayout_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, channelLayout_); onChanged(); return this; } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2649,7 +2417,6 @@ public Builder addAllChannelLayout(java.lang.Iterable values)
      * 
* * repeated string channel_layout = 4; - * * @return This builder for chaining. */ public Builder clearChannelLayout() { @@ -2659,8 +2426,6 @@ public Builder clearChannelLayout() { return this; } /** - * - * *
      * A list of channel names specifying layout of the audio channels.
      * This only affects the metadata embedded in the container headers, if
@@ -2675,15 +2440,15 @@ public Builder clearChannelLayout() {
      * 
* * repeated string channel_layout = 4; - * * @param value The bytes of the channelLayout to add. * @return This builder for chaining. */ - public Builder addChannelLayoutBytes(com.google.protobuf.ByteString value) { + public Builder addChannelLayoutBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureChannelLayoutIsMutable(); channelLayout_.add(value); onChanged(); @@ -2691,34 +2456,25 @@ public Builder addChannelLayoutBytes(com.google.protobuf.ByteString value) { } private java.util.List mapping_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMappingIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - mapping_ = - new java.util.ArrayList( - mapping_); + mapping_ = new java.util.ArrayList(mapping_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping, - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder, - com.google.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder> - mappingBuilder_; + com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping, com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder, com.google.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder> mappingBuilder_; /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
* * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ - public java.util.List - getMappingList() { + public java.util.List getMappingList() { if (mappingBuilder_ == null) { return java.util.Collections.unmodifiableList(mapping_); } else { @@ -2726,8 +2482,6 @@ private void ensureMappingIsMutable() { } } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
@@ -2742,8 +2496,6 @@ public int getMappingCount() { } } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
@@ -2758,8 +2510,6 @@ public com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping getMapping( } } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
@@ -2781,8 +2531,6 @@ public Builder setMapping( return this; } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
@@ -2790,8 +2538,7 @@ public Builder setMapping( * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ public Builder setMapping( - int index, - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder builderForValue) { + int index, com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder builderForValue) { if (mappingBuilder_ == null) { ensureMappingIsMutable(); mapping_.set(index, builderForValue.build()); @@ -2802,8 +2549,6 @@ public Builder setMapping( return this; } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
@@ -2824,8 +2569,6 @@ public Builder addMapping(com.google.cloud.video.transcoder.v1.AudioStream.Audio return this; } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
@@ -2847,8 +2590,6 @@ public Builder addMapping( return this; } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
@@ -2867,8 +2608,6 @@ public Builder addMapping( return this; } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
@@ -2876,8 +2615,7 @@ public Builder addMapping( * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ public Builder addMapping( - int index, - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder builderForValue) { + int index, com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder builderForValue) { if (mappingBuilder_ == null) { ensureMappingIsMutable(); mapping_.add(index, builderForValue.build()); @@ -2888,8 +2626,6 @@ public Builder addMapping( return this; } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
@@ -2897,11 +2633,11 @@ public Builder addMapping( * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ public Builder addAllMapping( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (mappingBuilder_ == null) { ensureMappingIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mapping_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mapping_); onChanged(); } else { mappingBuilder_.addAllMessages(values); @@ -2909,8 +2645,6 @@ public Builder addAllMapping( return this; } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
@@ -2928,8 +2662,6 @@ public Builder clearMapping() { return this; } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
@@ -2947,8 +2679,6 @@ public Builder removeMapping(int index) { return this; } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
@@ -2960,34 +2690,28 @@ public com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder get return getMappingFieldBuilder().getBuilder(index); } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
* * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ - public com.google.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder - getMappingOrBuilder(int index) { + public com.google.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder getMappingOrBuilder( + int index) { if (mappingBuilder_ == null) { - return mapping_.get(index); - } else { + return mapping_.get(index); } else { return mappingBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
* * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ - public java.util.List< - ? extends com.google.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder> - getMappingOrBuilderList() { + public java.util.List + getMappingOrBuilderList() { if (mappingBuilder_ != null) { return mappingBuilder_.getMessageOrBuilderList(); } else { @@ -2995,23 +2719,17 @@ public com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder get } } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
* * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ - public com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder - addMappingBuilder() { - return getMappingFieldBuilder() - .addBuilder( - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.getDefaultInstance()); + public com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder addMappingBuilder() { + return getMappingFieldBuilder().addBuilder( + com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.getDefaultInstance()); } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
@@ -3020,52 +2738,42 @@ public com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder get */ public com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder addMappingBuilder( int index) { - return getMappingFieldBuilder() - .addBuilder( - index, - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.getDefaultInstance()); + return getMappingFieldBuilder().addBuilder( + index, com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.getDefaultInstance()); } /** - * - * *
      * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
      * 
* * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ - public java.util.List - getMappingBuilderList() { + public java.util.List + getMappingBuilderList() { return getMappingFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping, - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder, - com.google.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder> + com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping, com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder, com.google.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder> getMappingFieldBuilder() { if (mappingBuilder_ == null) { - mappingBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping, - com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder, - com.google.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder>( - mapping_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + mappingBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping, com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping.Builder, com.google.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder>( + mapping_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); mapping_ = null; } return mappingBuilder_; } - private int sampleRateHertz_; + private int sampleRateHertz_ ; /** - * - * *
      * The audio sample rate in Hertz. The default is 48000 Hertz.
      * 
* * int32 sample_rate_hertz = 6; - * * @return The sampleRateHertz. */ @java.lang.Override @@ -3073,43 +2781,37 @@ public int getSampleRateHertz() { return sampleRateHertz_; } /** - * - * *
      * The audio sample rate in Hertz. The default is 48000 Hertz.
      * 
* * int32 sample_rate_hertz = 6; - * * @param value The sampleRateHertz to set. * @return This builder for chaining. */ public Builder setSampleRateHertz(int value) { - + sampleRateHertz_ = value; onChanged(); return this; } /** - * - * *
      * The audio sample rate in Hertz. The default is 48000 Hertz.
      * 
* * int32 sample_rate_hertz = 6; - * * @return This builder for chaining. */ public Builder clearSampleRateHertz() { - + sampleRateHertz_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3119,12 +2821,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.AudioStream) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.AudioStream) private static final com.google.cloud.video.transcoder.v1.AudioStream DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.AudioStream(); } @@ -3133,16 +2835,16 @@ public static com.google.cloud.video.transcoder.v1.AudioStream getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudioStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AudioStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudioStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AudioStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3157,4 +2859,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.AudioStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStreamOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStreamOrBuilder.java similarity index 83% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStreamOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStreamOrBuilder.java index a5462f6e..d69acc80 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStreamOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStreamOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; -public interface AudioStreamOrBuilder - extends +public interface AudioStreamOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.AudioStream) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The codec for this audio stream. The default is `aac`.
    * Supported audio codecs:
@@ -38,13 +20,10 @@ public interface AudioStreamOrBuilder
    * 
* * string codec = 1; - * * @return The codec. */ java.lang.String getCodec(); /** - * - * *
    * The codec for this audio stream. The default is `aac`.
    * Supported audio codecs:
@@ -57,40 +36,32 @@ public interface AudioStreamOrBuilder
    * 
* * string codec = 1; - * * @return The bytes for codec. */ - com.google.protobuf.ByteString getCodecBytes(); + com.google.protobuf.ByteString + getCodecBytes(); /** - * - * *
    * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
    * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bitrateBps. */ int getBitrateBps(); /** - * - * *
    * Number of audio channels. Must be between 1 and 6. The default is 2.
    * 
* * int32 channel_count = 3; - * * @return The channelCount. */ int getChannelCount(); /** - * - * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -105,13 +76,11 @@ public interface AudioStreamOrBuilder
    * 
* * repeated string channel_layout = 4; - * * @return A list containing the channelLayout. */ - java.util.List getChannelLayoutList(); + java.util.List + getChannelLayoutList(); /** - * - * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -126,13 +95,10 @@ public interface AudioStreamOrBuilder
    * 
* * repeated string channel_layout = 4; - * * @return The count of channelLayout. */ int getChannelLayoutCount(); /** - * - * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -147,14 +113,11 @@ public interface AudioStreamOrBuilder
    * 
* * repeated string channel_layout = 4; - * * @param index The index of the element to return. * @return The channelLayout at the given index. */ java.lang.String getChannelLayout(int index); /** - * - * *
    * A list of channel names specifying layout of the audio channels.
    * This only affects the metadata embedded in the container headers, if
@@ -169,25 +132,22 @@ public interface AudioStreamOrBuilder
    * 
* * repeated string channel_layout = 4; - * * @param index The index of the value to return. * @return The bytes of the channelLayout at the given index. */ - com.google.protobuf.ByteString getChannelLayoutBytes(int index); + com.google.protobuf.ByteString + getChannelLayoutBytes(int index); /** - * - * *
    * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
    * 
* * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ - java.util.List getMappingList(); + java.util.List + getMappingList(); /** - * - * *
    * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
    * 
@@ -196,8 +156,6 @@ public interface AudioStreamOrBuilder */ com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping getMapping(int index); /** - * - * *
    * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
    * 
@@ -206,19 +164,15 @@ public interface AudioStreamOrBuilder */ int getMappingCount(); /** - * - * *
    * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
    * 
* * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ - java.util.List + java.util.List getMappingOrBuilderList(); /** - * - * *
    * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
    * 
@@ -229,14 +183,11 @@ com.google.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder getMappin int index); /** - * - * *
    * The audio sample rate in Hertz. The default is 48000 Hertz.
    * 
* * int32 sample_rate_hertz = 6; - * * @return The sampleRateHertz. */ int getSampleRateHertz(); diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequest.java similarity index 63% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequest.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequest.java index 348426ac..3a189745 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/services.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Request message for `TranscoderService.CreateJob`.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.CreateJobRequest} */ -public final class CreateJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.CreateJobRequest) CreateJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateJobRequest.newBuilder() to construct. private CreateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateJobRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,36 +53,32 @@ private CreateJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.video.transcoder.v1.Job.Builder subBuilder = null; + if (job_ != null) { + subBuilder = job_.toBuilder(); } - case 18: - { - com.google.cloud.video.transcoder.v1.Job.Builder subBuilder = null; - if (job_ != null) { - subBuilder = job_.toBuilder(); - } - job_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.Job.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(job_); - job_ = subBuilder.buildPartial(); - } - - break; + job_ = input.readMessage(com.google.cloud.video.transcoder.v1.Job.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(job_); + job_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,42 +86,35 @@ private CreateJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.CreateJobRequest.class, - com.google.cloud.video.transcoder.v1.CreateJobRequest.Builder.class); + com.google.cloud.video.transcoder.v1.CreateJobRequest.class, com.google.cloud.video.transcoder.v1.CreateJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent location to create and process this job.
    * Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -151,32 +123,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location to create and process this job.
    * Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -187,15 +157,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOB_FIELD_NUMBER = 2; private com.google.cloud.video.transcoder.v1.Job job_; /** - * - * *
    * Required. Parameters for creating transcoding job.
    * 
* - * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ @java.lang.Override @@ -203,15 +169,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Required. Parameters for creating transcoding job.
    * 
* - * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ @java.lang.Override @@ -219,14 +181,11 @@ public com.google.cloud.video.transcoder.v1.Job getJob() { return job_ == null ? com.google.cloud.video.transcoder.v1.Job.getDefaultInstance() : job_; } /** - * - * *
    * Required. Parameters for creating transcoding job.
    * 
* - * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.video.transcoder.v1.JobOrBuilder getJobOrBuilder() { @@ -234,7 +193,6 @@ public com.google.cloud.video.transcoder.v1.JobOrBuilder getJobOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -266,7 +225,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (job_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getJob()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -276,18 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.CreateJobRequest)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.CreateJobRequest other = - (com.google.cloud.video.transcoder.v1.CreateJobRequest) obj; + com.google.cloud.video.transcoder.v1.CreateJobRequest other = (com.google.cloud.video.transcoder.v1.CreateJobRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob().equals(other.getJob())) return false; + if (!getJob() + .equals(other.getJob())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -312,127 +273,117 @@ public int hashCode() { } public static com.google.cloud.video.transcoder.v1.CreateJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.CreateJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.CreateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.CreateJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.CreateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.CreateJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.CreateJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.CreateJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.CreateJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.CreateJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.CreateJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.CreateJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.CreateJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.CreateJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `TranscoderService.CreateJob`.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.CreateJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.CreateJobRequest) com.google.cloud.video.transcoder.v1.CreateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.CreateJobRequest.class, - com.google.cloud.video.transcoder.v1.CreateJobRequest.Builder.class); + com.google.cloud.video.transcoder.v1.CreateJobRequest.class, com.google.cloud.video.transcoder.v1.CreateJobRequest.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.CreateJobRequest.newBuilder() @@ -440,15 +391,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -464,9 +416,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_CreateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_CreateJobRequest_descriptor; } @java.lang.Override @@ -485,8 +437,7 @@ public com.google.cloud.video.transcoder.v1.CreateJobRequest build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.CreateJobRequest buildPartial() { - com.google.cloud.video.transcoder.v1.CreateJobRequest result = - new com.google.cloud.video.transcoder.v1.CreateJobRequest(this); + com.google.cloud.video.transcoder.v1.CreateJobRequest result = new com.google.cloud.video.transcoder.v1.CreateJobRequest(this); result.parent_ = parent_; if (jobBuilder_ == null) { result.job_ = job_; @@ -501,39 +452,38 @@ public com.google.cloud.video.transcoder.v1.CreateJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.CreateJobRequest) { - return mergeFrom((com.google.cloud.video.transcoder.v1.CreateJobRequest) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.CreateJobRequest)other); } else { super.mergeFrom(other); return this; @@ -541,8 +491,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.transcoder.v1.CreateJobRequest other) { - if (other == com.google.cloud.video.transcoder.v1.CreateJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.transcoder.v1.CreateJobRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -569,8 +518,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.CreateJobRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.transcoder.v1.CreateJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -582,23 +530,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location to create and process this job.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -607,24 +551,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location to create and process this job.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -632,70 +573,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location to create and process this job.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent location to create and process this job.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent location to create and process this job.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -703,37 +631,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.video.transcoder.v1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Job, - com.google.cloud.video.transcoder.v1.Job.Builder, - com.google.cloud.video.transcoder.v1.JobOrBuilder> - jobBuilder_; + com.google.cloud.video.transcoder.v1.Job, com.google.cloud.video.transcoder.v1.Job.Builder, com.google.cloud.video.transcoder.v1.JobOrBuilder> jobBuilder_; /** - * - * *
      * Required. Parameters for creating transcoding job.
      * 
* - * - * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
      * Required. Parameters for creating transcoding job.
      * 
* - * - * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ public com.google.cloud.video.transcoder.v1.Job getJob() { @@ -744,15 +659,11 @@ public com.google.cloud.video.transcoder.v1.Job getJob() { } } /** - * - * *
      * Required. Parameters for creating transcoding job.
      * 
* - * - * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setJob(com.google.cloud.video.transcoder.v1.Job value) { if (jobBuilder_ == null) { @@ -768,17 +679,14 @@ public Builder setJob(com.google.cloud.video.transcoder.v1.Job value) { return this; } /** - * - * *
      * Required. Parameters for creating transcoding job.
      * 
* - * - * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob(com.google.cloud.video.transcoder.v1.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.video.transcoder.v1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -789,23 +697,17 @@ public Builder setJob(com.google.cloud.video.transcoder.v1.Job.Builder builderFo return this; } /** - * - * *
      * Required. Parameters for creating transcoding job.
      * 
* - * - * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeJob(com.google.cloud.video.transcoder.v1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.video.transcoder.v1.Job.newBuilder(job_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.transcoder.v1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -817,15 +719,11 @@ public Builder mergeJob(com.google.cloud.video.transcoder.v1.Job value) { return this; } /** - * - * *
      * Required. Parameters for creating transcoding job.
      * 
* - * - * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -839,69 +737,55 @@ public Builder clearJob() { return this; } /** - * - * *
      * Required. Parameters for creating transcoding job.
      * 
* - * - * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.transcoder.v1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Parameters for creating transcoding job.
      * 
* - * - * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.transcoder.v1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.video.transcoder.v1.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.video.transcoder.v1.Job.getDefaultInstance() : job_; } } /** - * - * *
      * Required. Parameters for creating transcoding job.
      * 
* - * - * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Job, - com.google.cloud.video.transcoder.v1.Job.Builder, - com.google.cloud.video.transcoder.v1.JobOrBuilder> + com.google.cloud.video.transcoder.v1.Job, com.google.cloud.video.transcoder.v1.Job.Builder, com.google.cloud.video.transcoder.v1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Job, - com.google.cloud.video.transcoder.v1.Job.Builder, - com.google.cloud.video.transcoder.v1.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.transcoder.v1.Job, com.google.cloud.video.transcoder.v1.Job.Builder, com.google.cloud.video.transcoder.v1.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -911,12 +795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.CreateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.CreateJobRequest) private static final com.google.cloud.video.transcoder.v1.CreateJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.CreateJobRequest(); } @@ -925,16 +809,16 @@ public static com.google.cloud.video.transcoder.v1.CreateJobRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -949,4 +833,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.CreateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequestOrBuilder.java index 8cfb2064..e8327d0d 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequestOrBuilder.java @@ -1,94 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/services.proto package com.google.cloud.video.transcoder.v1; -public interface CreateJobRequestOrBuilder - extends +public interface CreateJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.CreateJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location to create and process this job.
    * Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location to create and process this job.
    * Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Parameters for creating transcoding job.
    * 
* - * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Required. Parameters for creating transcoding job.
    * 
* - * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ com.google.cloud.video.transcoder.v1.Job getJob(); /** - * - * *
    * Required. Parameters for creating transcoding job.
    * 
* - * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.video.transcoder.v1.JobOrBuilder getJobOrBuilder(); } diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequest.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequest.java similarity index 65% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequest.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequest.java index cc72d592..044a4e94 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/services.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Request message for `TranscoderService.CreateJobTemplate`.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.CreateJobTemplateRequest} */ -public final class CreateJobTemplateRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateJobTemplateRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.CreateJobTemplateRequest) CreateJobTemplateRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateJobTemplateRequest.newBuilder() to construct. private CreateJobTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateJobTemplateRequest() { parent_ = ""; jobTemplateId_ = ""; @@ -44,15 +26,16 @@ private CreateJobTemplateRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateJobTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateJobTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateJobTemplateRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.video.transcoder.v1.JobTemplate.Builder subBuilder = null; + if (jobTemplate_ != null) { + subBuilder = jobTemplate_.toBuilder(); } - case 18: - { - com.google.cloud.video.transcoder.v1.JobTemplate.Builder subBuilder = null; - if (jobTemplate_ != null) { - subBuilder = jobTemplate_.toBuilder(); - } - jobTemplate_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.JobTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(jobTemplate_); - jobTemplate_ = subBuilder.buildPartial(); - } - - break; + jobTemplate_ = input.readMessage(com.google.cloud.video.transcoder.v1.JobTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(jobTemplate_); + jobTemplate_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - jobTemplateId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + jobTemplateId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,42 +93,35 @@ private CreateJobTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_CreateJobTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_CreateJobTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_CreateJobTemplateRequest_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_CreateJobTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest.class, - com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest.Builder.class); + com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest.class, com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent location to create this job template.
    * Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location to create this job template.
    * Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -195,16 +164,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOB_TEMPLATE_FIELD_NUMBER = 2; private com.google.cloud.video.transcoder.v1.JobTemplate jobTemplate_; /** - * - * *
    * Required. Parameters for creating job template.
    * 
* - * - * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the jobTemplate field is set. */ @java.lang.Override @@ -212,34 +176,23 @@ public boolean hasJobTemplate() { return jobTemplate_ != null; } /** - * - * *
    * Required. Parameters for creating job template.
    * 
* - * - * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The jobTemplate. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.JobTemplate getJobTemplate() { - return jobTemplate_ == null - ? com.google.cloud.video.transcoder.v1.JobTemplate.getDefaultInstance() - : jobTemplate_; + return jobTemplate_ == null ? com.google.cloud.video.transcoder.v1.JobTemplate.getDefaultInstance() : jobTemplate_; } /** - * - * *
    * Required. Parameters for creating job template.
    * 
* - * - * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder getJobTemplateOrBuilder() { @@ -249,8 +202,6 @@ public com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder getJobTemplateO public static final int JOB_TEMPLATE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object jobTemplateId_; /** - * - * *
    * Required. The ID to use for the job template, which will become the final component
    * of the job template's resource name.
@@ -259,7 +210,6 @@ public com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder getJobTemplateO
    * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The jobTemplateId. */ @java.lang.Override @@ -268,15 +218,14 @@ public java.lang.String getJobTemplateId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTemplateId_ = s; return s; } } /** - * - * *
    * Required. The ID to use for the job template, which will become the final component
    * of the job template's resource name.
@@ -285,15 +234,16 @@ public java.lang.String getJobTemplateId() {
    * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for jobTemplateId. */ @java.lang.Override - public com.google.protobuf.ByteString getJobTemplateIdBytes() { + public com.google.protobuf.ByteString + getJobTemplateIdBytes() { java.lang.Object ref = jobTemplateId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobTemplateId_ = b; return b; } else { @@ -302,7 +252,6 @@ public com.google.protobuf.ByteString getJobTemplateIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,7 +263,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -337,7 +287,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (jobTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJobTemplate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getJobTemplate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobTemplateId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, jobTemplateId_); @@ -350,20 +301,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest other = - (com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest) obj; + com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest other = (com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasJobTemplate() != other.hasJobTemplate()) return false; if (hasJobTemplate()) { - if (!getJobTemplate().equals(other.getJobTemplate())) return false; + if (!getJobTemplate() + .equals(other.getJobTemplate())) return false; } - if (!getJobTemplateId().equals(other.getJobTemplateId())) return false; + if (!getJobTemplateId() + .equals(other.getJobTemplateId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -389,127 +342,117 @@ public int hashCode() { } public static com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `TranscoderService.CreateJobTemplate`.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.CreateJobTemplateRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.CreateJobTemplateRequest) com.google.cloud.video.transcoder.v1.CreateJobTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_CreateJobTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_CreateJobTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_CreateJobTemplateRequest_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_CreateJobTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest.class, - com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest.Builder.class); + com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest.class, com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest.newBuilder() @@ -517,15 +460,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -543,14 +487,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_CreateJobTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_CreateJobTemplateRequest_descriptor; } @java.lang.Override - public com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest - getDefaultInstanceForType() { + public com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest getDefaultInstanceForType() { return com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest.getDefaultInstance(); } @@ -565,8 +508,7 @@ public com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest buildPartial() { - com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest result = - new com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest(this); + com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest result = new com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest(this); result.parent_ = parent_; if (jobTemplateBuilder_ == null) { result.jobTemplate_ = jobTemplate_; @@ -582,39 +524,38 @@ public com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.CreateJobTemplateRequest) { - return mergeFrom((com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest)other); } else { super.mergeFrom(other); return this; @@ -622,9 +563,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest other) { - if (other - == com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -655,9 +594,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -669,23 +606,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location to create this job template.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -694,24 +627,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location to create this job template.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -719,70 +649,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location to create this job template.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent location to create this job template.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent location to create this job template.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -790,58 +707,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.video.transcoder.v1.JobTemplate jobTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.JobTemplate, - com.google.cloud.video.transcoder.v1.JobTemplate.Builder, - com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder> - jobTemplateBuilder_; + com.google.cloud.video.transcoder.v1.JobTemplate, com.google.cloud.video.transcoder.v1.JobTemplate.Builder, com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder> jobTemplateBuilder_; /** - * - * *
      * Required. Parameters for creating job template.
      * 
* - * - * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the jobTemplate field is set. */ public boolean hasJobTemplate() { return jobTemplateBuilder_ != null || jobTemplate_ != null; } /** - * - * *
      * Required. Parameters for creating job template.
      * 
* - * - * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The jobTemplate. */ public com.google.cloud.video.transcoder.v1.JobTemplate getJobTemplate() { if (jobTemplateBuilder_ == null) { - return jobTemplate_ == null - ? com.google.cloud.video.transcoder.v1.JobTemplate.getDefaultInstance() - : jobTemplate_; + return jobTemplate_ == null ? com.google.cloud.video.transcoder.v1.JobTemplate.getDefaultInstance() : jobTemplate_; } else { return jobTemplateBuilder_.getMessage(); } } /** - * - * *
      * Required. Parameters for creating job template.
      * 
* - * - * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setJobTemplate(com.google.cloud.video.transcoder.v1.JobTemplate value) { if (jobTemplateBuilder_ == null) { @@ -857,15 +755,11 @@ public Builder setJobTemplate(com.google.cloud.video.transcoder.v1.JobTemplate v return this; } /** - * - * *
      * Required. Parameters for creating job template.
      * 
* - * - * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setJobTemplate( com.google.cloud.video.transcoder.v1.JobTemplate.Builder builderForValue) { @@ -879,23 +773,17 @@ public Builder setJobTemplate( return this; } /** - * - * *
      * Required. Parameters for creating job template.
      * 
* - * - * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeJobTemplate(com.google.cloud.video.transcoder.v1.JobTemplate value) { if (jobTemplateBuilder_ == null) { if (jobTemplate_ != null) { jobTemplate_ = - com.google.cloud.video.transcoder.v1.JobTemplate.newBuilder(jobTemplate_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.transcoder.v1.JobTemplate.newBuilder(jobTemplate_).mergeFrom(value).buildPartial(); } else { jobTemplate_ = value; } @@ -907,15 +795,11 @@ public Builder mergeJobTemplate(com.google.cloud.video.transcoder.v1.JobTemplate return this; } /** - * - * *
      * Required. Parameters for creating job template.
      * 
* - * - * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJobTemplate() { if (jobTemplateBuilder_ == null) { @@ -929,64 +813,48 @@ public Builder clearJobTemplate() { return this; } /** - * - * *
      * Required. Parameters for creating job template.
      * 
* - * - * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.transcoder.v1.JobTemplate.Builder getJobTemplateBuilder() { - + onChanged(); return getJobTemplateFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Parameters for creating job template.
      * 
* - * - * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder getJobTemplateOrBuilder() { if (jobTemplateBuilder_ != null) { return jobTemplateBuilder_.getMessageOrBuilder(); } else { - return jobTemplate_ == null - ? com.google.cloud.video.transcoder.v1.JobTemplate.getDefaultInstance() - : jobTemplate_; + return jobTemplate_ == null ? + com.google.cloud.video.transcoder.v1.JobTemplate.getDefaultInstance() : jobTemplate_; } } /** - * - * *
      * Required. Parameters for creating job template.
      * 
* - * - * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.JobTemplate, - com.google.cloud.video.transcoder.v1.JobTemplate.Builder, - com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder> + com.google.cloud.video.transcoder.v1.JobTemplate, com.google.cloud.video.transcoder.v1.JobTemplate.Builder, com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder> getJobTemplateFieldBuilder() { if (jobTemplateBuilder_ == null) { - jobTemplateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.JobTemplate, - com.google.cloud.video.transcoder.v1.JobTemplate.Builder, - com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder>( - getJobTemplate(), getParentForChildren(), isClean()); + jobTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.transcoder.v1.JobTemplate, com.google.cloud.video.transcoder.v1.JobTemplate.Builder, com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder>( + getJobTemplate(), + getParentForChildren(), + isClean()); jobTemplate_ = null; } return jobTemplateBuilder_; @@ -994,8 +862,6 @@ public com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder getJobTemplateO private java.lang.Object jobTemplateId_ = ""; /** - * - * *
      * Required. The ID to use for the job template, which will become the final component
      * of the job template's resource name.
@@ -1004,13 +870,13 @@ public com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder getJobTemplateO
      * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The jobTemplateId. */ public java.lang.String getJobTemplateId() { java.lang.Object ref = jobTemplateId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTemplateId_ = s; return s; @@ -1019,8 +885,6 @@ public java.lang.String getJobTemplateId() { } } /** - * - * *
      * Required. The ID to use for the job template, which will become the final component
      * of the job template's resource name.
@@ -1029,14 +893,15 @@ public java.lang.String getJobTemplateId() {
      * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for jobTemplateId. */ - public com.google.protobuf.ByteString getJobTemplateIdBytes() { + public com.google.protobuf.ByteString + getJobTemplateIdBytes() { java.lang.Object ref = jobTemplateId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobTemplateId_ = b; return b; } else { @@ -1044,8 +909,6 @@ public com.google.protobuf.ByteString getJobTemplateIdBytes() { } } /** - * - * *
      * Required. The ID to use for the job template, which will become the final component
      * of the job template's resource name.
@@ -1054,22 +917,20 @@ public com.google.protobuf.ByteString getJobTemplateIdBytes() {
      * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The jobTemplateId to set. * @return This builder for chaining. */ - public Builder setJobTemplateId(java.lang.String value) { + public Builder setJobTemplateId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobTemplateId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID to use for the job template, which will become the final component
      * of the job template's resource name.
@@ -1078,18 +939,15 @@ public Builder setJobTemplateId(java.lang.String value) {
      * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearJobTemplateId() { - + jobTemplateId_ = getDefaultInstance().getJobTemplateId(); onChanged(); return this; } /** - * - * *
      * Required. The ID to use for the job template, which will become the final component
      * of the job template's resource name.
@@ -1098,23 +956,23 @@ public Builder clearJobTemplateId() {
      * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for jobTemplateId to set. * @return This builder for chaining. */ - public Builder setJobTemplateIdBytes(com.google.protobuf.ByteString value) { + public Builder setJobTemplateIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobTemplateId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1124,13 +982,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.CreateJobTemplateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.CreateJobTemplateRequest) - private static final com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest(); } @@ -1139,16 +996,16 @@ public static com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateJobTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateJobTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateJobTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateJobTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1163,4 +1020,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequestOrBuilder.java similarity index 58% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequestOrBuilder.java index e81ea78a..c9f3f0ea 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequestOrBuilder.java @@ -1,103 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/services.proto package com.google.cloud.video.transcoder.v1; -public interface CreateJobTemplateRequestOrBuilder - extends +public interface CreateJobTemplateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.CreateJobTemplateRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location to create this job template.
    * Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location to create this job template.
    * Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Parameters for creating job template.
    * 
* - * - * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the jobTemplate field is set. */ boolean hasJobTemplate(); /** - * - * *
    * Required. Parameters for creating job template.
    * 
* - * - * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The jobTemplate. */ com.google.cloud.video.transcoder.v1.JobTemplate getJobTemplate(); /** - * - * *
    * Required. Parameters for creating job template.
    * 
* - * - * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder getJobTemplateOrBuilder(); /** - * - * *
    * Required. The ID to use for the job template, which will become the final component
    * of the job template's resource name.
@@ -106,13 +65,10 @@ public interface CreateJobTemplateRequestOrBuilder
    * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The jobTemplateId. */ java.lang.String getJobTemplateId(); /** - * - * *
    * Required. The ID to use for the job template, which will become the final component
    * of the job template's resource name.
@@ -121,8 +77,8 @@ public interface CreateJobTemplateRequestOrBuilder
    * 
* * string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for jobTemplateId. */ - com.google.protobuf.ByteString getJobTemplateIdBytes(); + com.google.protobuf.ByteString + getJobTemplateIdBytes(); } diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequest.java similarity index 66% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequest.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequest.java index c7f43419..4b9dc21c 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/services.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Request message for `TranscoderService.DeleteJob`.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.DeleteJobRequest} */ -public final class DeleteJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.DeleteJobRequest) DeleteJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteJobRequest.newBuilder() to construct. private DeleteJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DeleteJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - allowMissing_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 16: { + + allowMissing_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,42 +78,35 @@ private DeleteJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_DeleteJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.DeleteJobRequest.class, - com.google.cloud.video.transcoder.v1.DeleteJobRequest.Builder.class); + com.google.cloud.video.transcoder.v1.DeleteJobRequest.class, com.google.cloud.video.transcoder.v1.DeleteJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the job to delete.
    * Format: `projects/{project}/locations/{location}/jobs/{job}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -140,32 +115,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the job to delete.
    * Format: `projects/{project}/locations/{location}/jobs/{job}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -176,15 +149,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ALLOW_MISSING_FIELD_NUMBER = 2; private boolean allowMissing_; /** - * - * *
    * If set to true, and the job is not found, the request will succeed but no
    * action will be taken on the server.
    * 
* * bool allow_missing = 2; - * * @return The allowMissing. */ @java.lang.Override @@ -193,7 +163,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -225,7 +195,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, allowMissing_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -235,16 +206,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.DeleteJobRequest)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.DeleteJobRequest other = - (com.google.cloud.video.transcoder.v1.DeleteJobRequest) obj; + com.google.cloud.video.transcoder.v1.DeleteJobRequest other = (com.google.cloud.video.transcoder.v1.DeleteJobRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -259,134 +231,125 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.video.transcoder.v1.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.DeleteJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.DeleteJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.DeleteJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.DeleteJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.DeleteJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.DeleteJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.DeleteJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.DeleteJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.DeleteJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.DeleteJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `TranscoderService.DeleteJob`.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.DeleteJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.DeleteJobRequest) com.google.cloud.video.transcoder.v1.DeleteJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_DeleteJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.DeleteJobRequest.class, - com.google.cloud.video.transcoder.v1.DeleteJobRequest.Builder.class); + com.google.cloud.video.transcoder.v1.DeleteJobRequest.class, com.google.cloud.video.transcoder.v1.DeleteJobRequest.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.DeleteJobRequest.newBuilder() @@ -394,15 +357,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_DeleteJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_DeleteJobRequest_descriptor; } @java.lang.Override @@ -435,8 +399,7 @@ public com.google.cloud.video.transcoder.v1.DeleteJobRequest build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.DeleteJobRequest buildPartial() { - com.google.cloud.video.transcoder.v1.DeleteJobRequest result = - new com.google.cloud.video.transcoder.v1.DeleteJobRequest(this); + com.google.cloud.video.transcoder.v1.DeleteJobRequest result = new com.google.cloud.video.transcoder.v1.DeleteJobRequest(this); result.name_ = name_; result.allowMissing_ = allowMissing_; onBuilt(); @@ -447,39 +410,38 @@ public com.google.cloud.video.transcoder.v1.DeleteJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.DeleteJobRequest) { - return mergeFrom((com.google.cloud.video.transcoder.v1.DeleteJobRequest) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.DeleteJobRequest)other); } else { super.mergeFrom(other); return this; @@ -487,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.transcoder.v1.DeleteJobRequest other) { - if (other == com.google.cloud.video.transcoder.v1.DeleteJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.transcoder.v1.DeleteJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -515,8 +476,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.DeleteJobRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.transcoder.v1.DeleteJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,23 +488,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the job to delete.
      * Format: `projects/{project}/locations/{location}/jobs/{job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -553,24 +509,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the job to delete.
      * Format: `projects/{project}/locations/{location}/jobs/{job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -578,86 +531,70 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the job to delete.
      * Format: `projects/{project}/locations/{location}/jobs/{job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the job to delete.
      * Format: `projects/{project}/locations/{location}/jobs/{job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the job to delete.
      * Format: `projects/{project}/locations/{location}/jobs/{job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and the job is not found, the request will succeed but no
      * action will be taken on the server.
      * 
* * bool allow_missing = 2; - * * @return The allowMissing. */ @java.lang.Override @@ -665,45 +602,39 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and the job is not found, the request will succeed but no
      * action will be taken on the server.
      * 
* * bool allow_missing = 2; - * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, and the job is not found, the request will succeed but no
      * action will be taken on the server.
      * 
* * bool allow_missing = 2; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -713,12 +644,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.DeleteJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.DeleteJobRequest) private static final com.google.cloud.video.transcoder.v1.DeleteJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.DeleteJobRequest(); } @@ -727,16 +658,16 @@ public static com.google.cloud.video.transcoder.v1.DeleteJobRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -751,4 +682,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.DeleteJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequestOrBuilder.java new file mode 100644 index 00000000..c3b5f6e0 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequestOrBuilder.java @@ -0,0 +1,42 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/video/transcoder/v1/services.proto + +package com.google.cloud.video.transcoder.v1; + +public interface DeleteJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.DeleteJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the job to delete.
+   * Format: `projects/{project}/locations/{location}/jobs/{job}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the job to delete.
+   * Format: `projects/{project}/locations/{location}/jobs/{job}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * If set to true, and the job is not found, the request will succeed but no
+   * action will be taken on the server.
+   * 
+ * + * bool allow_missing = 2; + * @return The allowMissing. + */ + boolean getAllowMissing(); +} diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequest.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequest.java similarity index 66% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequest.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequest.java index 7bb06678..73eb2288 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/services.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Request message for `TranscoderService.DeleteJobTemplate`.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.DeleteJobTemplateRequest} */ -public final class DeleteJobTemplateRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteJobTemplateRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.DeleteJobTemplateRequest) DeleteJobTemplateRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteJobTemplateRequest.newBuilder() to construct. private DeleteJobTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteJobTemplateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteJobTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteJobTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DeleteJobTemplateRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - allowMissing_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 16: { + + allowMissing_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,42 +78,35 @@ private DeleteJobTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_DeleteJobTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_DeleteJobTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_DeleteJobTemplateRequest_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_DeleteJobTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest.class, - com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest.Builder.class); + com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest.class, com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the job template to delete.
    * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -140,32 +115,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the job template to delete.
    * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -176,15 +149,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ALLOW_MISSING_FIELD_NUMBER = 2; private boolean allowMissing_; /** - * - * *
    * If set to true, and the job template is not found, the request will succeed
    * but no action will be taken on the server.
    * 
* * bool allow_missing = 2; - * * @return The allowMissing. */ @java.lang.Override @@ -193,7 +163,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -225,7 +195,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, allowMissing_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -235,16 +206,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest other = - (com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest) obj; + com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest other = (com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -259,134 +231,125 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `TranscoderService.DeleteJobTemplate`.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.DeleteJobTemplateRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.DeleteJobTemplateRequest) com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_DeleteJobTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_DeleteJobTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_DeleteJobTemplateRequest_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_DeleteJobTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest.class, - com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest.Builder.class); + com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest.class, com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest.newBuilder() @@ -394,15 +357,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -414,14 +378,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_DeleteJobTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_DeleteJobTemplateRequest_descriptor; } @java.lang.Override - public com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest - getDefaultInstanceForType() { + public com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest getDefaultInstanceForType() { return com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest.getDefaultInstance(); } @@ -436,8 +399,7 @@ public com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest buildPartial() { - com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest result = - new com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest(this); + com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest result = new com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest(this); result.name_ = name_; result.allowMissing_ = allowMissing_; onBuilt(); @@ -448,39 +410,38 @@ public com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.DeleteJobTemplateRequest) { - return mergeFrom((com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest)other); } else { super.mergeFrom(other); return this; @@ -488,9 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest other) { - if (other - == com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -517,9 +476,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -531,23 +488,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the job template to delete.
      * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -556,24 +509,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the job template to delete.
      * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -581,86 +531,70 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the job template to delete.
      * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the job template to delete.
      * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the job template to delete.
      * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and the job template is not found, the request will succeed
      * but no action will be taken on the server.
      * 
* * bool allow_missing = 2; - * * @return The allowMissing. */ @java.lang.Override @@ -668,45 +602,39 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and the job template is not found, the request will succeed
      * but no action will be taken on the server.
      * 
* * bool allow_missing = 2; - * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, and the job template is not found, the request will succeed
      * but no action will be taken on the server.
      * 
* * bool allow_missing = 2; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -716,13 +644,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.DeleteJobTemplateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.DeleteJobTemplateRequest) - private static final com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest(); } @@ -731,16 +658,16 @@ public static com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteJobTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteJobTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteJobTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteJobTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -755,4 +682,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequestOrBuilder.java index aa3f196a..bb8e044e 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequestOrBuilder.java @@ -1,69 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/services.proto package com.google.cloud.video.transcoder.v1; -public interface DeleteJobTemplateRequestOrBuilder - extends +public interface DeleteJobTemplateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.DeleteJobTemplateRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the job template to delete.
    * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the job template to delete.
    * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * If set to true, and the job template is not found, the request will succeed
    * but no action will be taken on the server.
    * 
* * bool allow_missing = 2; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EditAtom.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EditAtom.java similarity index 74% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EditAtom.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EditAtom.java index 017421bc..185f5cba 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EditAtom.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EditAtom.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Edit atom.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.EditAtom} */ -public final class EditAtom extends com.google.protobuf.GeneratedMessageV3 - implements +public final class EditAtom extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.EditAtom) EditAtomOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use EditAtom.newBuilder() to construct. private EditAtom(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EditAtom() { key_ = ""; inputs_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,15 +26,16 @@ private EditAtom() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EditAtom(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private EditAtom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,60 +55,54 @@ private EditAtom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - key_ = s; - break; + key_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + inputs_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - inputs_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - inputs_.add(s); - break; + inputs_.add(s); + break; + } + case 26: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (endTimeOffset_ != null) { + subBuilder = endTimeOffset_.toBuilder(); } - case 26: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (endTimeOffset_ != null) { - subBuilder = endTimeOffset_.toBuilder(); - } - endTimeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTimeOffset_); - endTimeOffset_ = subBuilder.buildPartial(); - } - - break; + endTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTimeOffset_); + endTimeOffset_ = subBuilder.buildPartial(); } - case 34: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (startTimeOffset_ != null) { - subBuilder = startTimeOffset_.toBuilder(); - } - startTimeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTimeOffset_); - startTimeOffset_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (startTimeOffset_ != null) { + subBuilder = startTimeOffset_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + startTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTimeOffset_); + startTimeOffset_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -133,7 +110,8 @@ private EditAtom( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { inputs_ = inputs_.getUnmodifiableView(); @@ -142,34 +120,28 @@ private EditAtom( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_EditAtom_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_EditAtom_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_EditAtom_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_EditAtom_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.EditAtom.class, - com.google.cloud.video.transcoder.v1.EditAtom.Builder.class); + com.google.cloud.video.transcoder.v1.EditAtom.class, com.google.cloud.video.transcoder.v1.EditAtom.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** - * - * *
    * A unique key for this atom. Must be specified when using advanced
    * mapping.
    * 
* * string key = 1; - * * @return The key. */ @java.lang.Override @@ -178,30 +150,30 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** - * - * *
    * A unique key for this atom. Must be specified when using advanced
    * mapping.
    * 
* * string key = 1; - * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -212,45 +184,37 @@ public com.google.protobuf.ByteString getKeyBytes() { public static final int INPUTS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList inputs_; /** - * - * *
    * List of `Input.key`s identifying files that should be used in this atom.
    * The listed `inputs` must have the same timeline.
    * 
* * repeated string inputs = 2; - * * @return A list containing the inputs. */ - public com.google.protobuf.ProtocolStringList getInputsList() { + public com.google.protobuf.ProtocolStringList + getInputsList() { return inputs_; } /** - * - * *
    * List of `Input.key`s identifying files that should be used in this atom.
    * The listed `inputs` must have the same timeline.
    * 
* * repeated string inputs = 2; - * * @return The count of inputs. */ public int getInputsCount() { return inputs_.size(); } /** - * - * *
    * List of `Input.key`s identifying files that should be used in this atom.
    * The listed `inputs` must have the same timeline.
    * 
* * repeated string inputs = 2; - * * @param index The index of the element to return. * @return The inputs at the given index. */ @@ -258,27 +222,23 @@ public java.lang.String getInputs(int index) { return inputs_.get(index); } /** - * - * *
    * List of `Input.key`s identifying files that should be used in this atom.
    * The listed `inputs` must have the same timeline.
    * 
* * repeated string inputs = 2; - * * @param index The index of the value to return. * @return The bytes of the inputs at the given index. */ - public com.google.protobuf.ByteString getInputsBytes(int index) { + public com.google.protobuf.ByteString + getInputsBytes(int index) { return inputs_.getByteString(index); } public static final int END_TIME_OFFSET_FIELD_NUMBER = 3; private com.google.protobuf.Duration endTimeOffset_; /** - * - * *
    * End time in seconds for the atom, relative to the input file timeline.
    * When `end_time_offset` is not specified, the `inputs` are used until
@@ -286,7 +246,6 @@ public com.google.protobuf.ByteString getInputsBytes(int index) {
    * 
* * .google.protobuf.Duration end_time_offset = 3; - * * @return Whether the endTimeOffset field is set. */ @java.lang.Override @@ -294,8 +253,6 @@ public boolean hasEndTimeOffset() { return endTimeOffset_ != null; } /** - * - * *
    * End time in seconds for the atom, relative to the input file timeline.
    * When `end_time_offset` is not specified, the `inputs` are used until
@@ -303,18 +260,13 @@ public boolean hasEndTimeOffset() {
    * 
* * .google.protobuf.Duration end_time_offset = 3; - * * @return The endTimeOffset. */ @java.lang.Override public com.google.protobuf.Duration getEndTimeOffset() { - return endTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : endTimeOffset_; + return endTimeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTimeOffset_; } /** - * - * *
    * End time in seconds for the atom, relative to the input file timeline.
    * When `end_time_offset` is not specified, the `inputs` are used until
@@ -331,15 +283,12 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
   public static final int START_TIME_OFFSET_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration startTimeOffset_;
   /**
-   *
-   *
    * 
    * Start time in seconds for the atom, relative to the input file timeline.
    * The default is `0s`.
    * 
* * .google.protobuf.Duration start_time_offset = 4; - * * @return Whether the startTimeOffset field is set. */ @java.lang.Override @@ -347,26 +296,19 @@ public boolean hasStartTimeOffset() { return startTimeOffset_ != null; } /** - * - * *
    * Start time in seconds for the atom, relative to the input file timeline.
    * The default is `0s`.
    * 
* * .google.protobuf.Duration start_time_offset = 4; - * * @return The startTimeOffset. */ @java.lang.Override public com.google.protobuf.Duration getStartTimeOffset() { - return startTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : startTimeOffset_; + return startTimeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTimeOffset_; } /** - * - * *
    * Start time in seconds for the atom, relative to the input file timeline.
    * The default is `0s`.
@@ -380,7 +322,6 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -392,7 +333,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  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_);
     }
@@ -426,10 +368,12 @@ public int getSerializedSize() {
       size += 1 * getInputsList().size();
     }
     if (endTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTimeOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getEndTimeOffset());
     }
     if (startTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartTimeOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getStartTimeOffset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -439,23 +383,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.video.transcoder.v1.EditAtom)) {
       return super.equals(obj);
     }
-    com.google.cloud.video.transcoder.v1.EditAtom other =
-        (com.google.cloud.video.transcoder.v1.EditAtom) obj;
+    com.google.cloud.video.transcoder.v1.EditAtom other = (com.google.cloud.video.transcoder.v1.EditAtom) obj;
 
-    if (!getKey().equals(other.getKey())) return false;
-    if (!getInputsList().equals(other.getInputsList())) return false;
+    if (!getKey()
+        .equals(other.getKey())) return false;
+    if (!getInputsList()
+        .equals(other.getInputsList())) return false;
     if (hasEndTimeOffset() != other.hasEndTimeOffset()) return false;
     if (hasEndTimeOffset()) {
-      if (!getEndTimeOffset().equals(other.getEndTimeOffset())) return false;
+      if (!getEndTimeOffset()
+          .equals(other.getEndTimeOffset())) return false;
     }
     if (hasStartTimeOffset() != other.hasStartTimeOffset()) return false;
     if (hasStartTimeOffset()) {
-      if (!getStartTimeOffset().equals(other.getStartTimeOffset())) return false;
+      if (!getStartTimeOffset()
+          .equals(other.getStartTimeOffset())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -487,127 +434,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.video.transcoder.v1.EditAtom parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.video.transcoder.v1.EditAtom parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.transcoder.v1.EditAtom parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.EditAtom parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.transcoder.v1.EditAtom parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.EditAtom parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.transcoder.v1.EditAtom parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.EditAtom parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.transcoder.v1.EditAtom parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.video.transcoder.v1.EditAtom parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.video.transcoder.v1.EditAtom parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.transcoder.v1.EditAtom parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.EditAtom parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.transcoder.v1.EditAtom parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.video.transcoder.v1.EditAtom prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Edit atom.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.EditAtom} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.EditAtom) com.google.cloud.video.transcoder.v1.EditAtomOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_EditAtom_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_EditAtom_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_EditAtom_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_EditAtom_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.EditAtom.class, - com.google.cloud.video.transcoder.v1.EditAtom.Builder.class); + com.google.cloud.video.transcoder.v1.EditAtom.class, com.google.cloud.video.transcoder.v1.EditAtom.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.EditAtom.newBuilder() @@ -615,15 +553,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -647,9 +586,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_EditAtom_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_EditAtom_descriptor; } @java.lang.Override @@ -668,8 +607,7 @@ public com.google.cloud.video.transcoder.v1.EditAtom build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.EditAtom buildPartial() { - com.google.cloud.video.transcoder.v1.EditAtom result = - new com.google.cloud.video.transcoder.v1.EditAtom(this); + com.google.cloud.video.transcoder.v1.EditAtom result = new com.google.cloud.video.transcoder.v1.EditAtom(this); int from_bitField0_ = bitField0_; result.key_ = key_; if (((bitField0_ & 0x00000001) != 0)) { @@ -695,39 +633,38 @@ public com.google.cloud.video.transcoder.v1.EditAtom buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.EditAtom) { - return mergeFrom((com.google.cloud.video.transcoder.v1.EditAtom) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.EditAtom)other); } else { super.mergeFrom(other); return this; @@ -784,26 +721,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object key_ = ""; /** - * - * *
      * A unique key for this atom. Must be specified when using advanced
      * mapping.
      * 
* * string key = 1; - * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -812,22 +746,21 @@ public java.lang.String getKey() { } } /** - * - * *
      * A unique key for this atom. Must be specified when using advanced
      * mapping.
      * 
* * string key = 1; - * * @return The bytes for key. */ - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -835,118 +768,101 @@ public com.google.protobuf.ByteString getKeyBytes() { } } /** - * - * *
      * A unique key for this atom. Must be specified when using advanced
      * mapping.
      * 
* * string key = 1; - * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey(java.lang.String value) { + public Builder setKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** - * - * *
      * A unique key for this atom. Must be specified when using advanced
      * mapping.
      * 
* * string key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** - * - * *
      * A unique key for this atom. Must be specified when using advanced
      * mapping.
      * 
* * string key = 1; - * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList inputs_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList inputs_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInputsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { inputs_ = new com.google.protobuf.LazyStringArrayList(inputs_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * List of `Input.key`s identifying files that should be used in this atom.
      * The listed `inputs` must have the same timeline.
      * 
* * repeated string inputs = 2; - * * @return A list containing the inputs. */ - public com.google.protobuf.ProtocolStringList getInputsList() { + public com.google.protobuf.ProtocolStringList + getInputsList() { return inputs_.getUnmodifiableView(); } /** - * - * *
      * List of `Input.key`s identifying files that should be used in this atom.
      * The listed `inputs` must have the same timeline.
      * 
* * repeated string inputs = 2; - * * @return The count of inputs. */ public int getInputsCount() { return inputs_.size(); } /** - * - * *
      * List of `Input.key`s identifying files that should be used in this atom.
      * The listed `inputs` must have the same timeline.
      * 
* * repeated string inputs = 2; - * * @param index The index of the element to return. * @return The inputs at the given index. */ @@ -954,95 +870,85 @@ public java.lang.String getInputs(int index) { return inputs_.get(index); } /** - * - * *
      * List of `Input.key`s identifying files that should be used in this atom.
      * The listed `inputs` must have the same timeline.
      * 
* * repeated string inputs = 2; - * * @param index The index of the value to return. * @return The bytes of the inputs at the given index. */ - public com.google.protobuf.ByteString getInputsBytes(int index) { + public com.google.protobuf.ByteString + getInputsBytes(int index) { return inputs_.getByteString(index); } /** - * - * *
      * List of `Input.key`s identifying files that should be used in this atom.
      * The listed `inputs` must have the same timeline.
      * 
* * repeated string inputs = 2; - * * @param index The index to set the value at. * @param value The inputs to set. * @return This builder for chaining. */ - public Builder setInputs(int index, java.lang.String value) { + public Builder setInputs( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInputsIsMutable(); + throw new NullPointerException(); + } + ensureInputsIsMutable(); inputs_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of `Input.key`s identifying files that should be used in this atom.
      * The listed `inputs` must have the same timeline.
      * 
* * repeated string inputs = 2; - * * @param value The inputs to add. * @return This builder for chaining. */ - public Builder addInputs(java.lang.String value) { + public Builder addInputs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInputsIsMutable(); + throw new NullPointerException(); + } + ensureInputsIsMutable(); inputs_.add(value); onChanged(); return this; } /** - * - * *
      * List of `Input.key`s identifying files that should be used in this atom.
      * The listed `inputs` must have the same timeline.
      * 
* * repeated string inputs = 2; - * * @param values The inputs to add. * @return This builder for chaining. */ - public Builder addAllInputs(java.lang.Iterable values) { + public Builder addAllInputs( + java.lang.Iterable values) { ensureInputsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inputs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inputs_); onChanged(); return this; } /** - * - * *
      * List of `Input.key`s identifying files that should be used in this atom.
      * The listed `inputs` must have the same timeline.
      * 
* * repeated string inputs = 2; - * * @return This builder for chaining. */ public Builder clearInputs() { @@ -1052,23 +958,21 @@ public Builder clearInputs() { return this; } /** - * - * *
      * List of `Input.key`s identifying files that should be used in this atom.
      * The listed `inputs` must have the same timeline.
      * 
* * repeated string inputs = 2; - * * @param value The bytes of the inputs to add. * @return This builder for chaining. */ - public Builder addInputsBytes(com.google.protobuf.ByteString value) { + public Builder addInputsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInputsIsMutable(); inputs_.add(value); onChanged(); @@ -1077,13 +981,8 @@ public Builder addInputsBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Duration endTimeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - endTimeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> endTimeOffsetBuilder_; /** - * - * *
      * End time in seconds for the atom, relative to the input file timeline.
      * When `end_time_offset` is not specified, the `inputs` are used until
@@ -1091,15 +990,12 @@ public Builder addInputsBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Duration end_time_offset = 3; - * * @return Whether the endTimeOffset field is set. */ public boolean hasEndTimeOffset() { return endTimeOffsetBuilder_ != null || endTimeOffset_ != null; } /** - * - * *
      * End time in seconds for the atom, relative to the input file timeline.
      * When `end_time_offset` is not specified, the `inputs` are used until
@@ -1107,21 +1003,16 @@ public boolean hasEndTimeOffset() {
      * 
* * .google.protobuf.Duration end_time_offset = 3; - * * @return The endTimeOffset. */ public com.google.protobuf.Duration getEndTimeOffset() { if (endTimeOffsetBuilder_ == null) { - return endTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : endTimeOffset_; + return endTimeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTimeOffset_; } else { return endTimeOffsetBuilder_.getMessage(); } } /** - * - * *
      * End time in seconds for the atom, relative to the input file timeline.
      * When `end_time_offset` is not specified, the `inputs` are used until
@@ -1144,8 +1035,6 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * End time in seconds for the atom, relative to the input file timeline.
      * When `end_time_offset` is not specified, the `inputs` are used until
@@ -1154,7 +1043,8 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time_offset = 3;
      */
-    public Builder setEndTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setEndTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (endTimeOffsetBuilder_ == null) {
         endTimeOffset_ = builderForValue.build();
         onChanged();
@@ -1165,8 +1055,6 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * End time in seconds for the atom, relative to the input file timeline.
      * When `end_time_offset` is not specified, the `inputs` are used until
@@ -1179,9 +1067,7 @@ public Builder mergeEndTimeOffset(com.google.protobuf.Duration value) {
       if (endTimeOffsetBuilder_ == null) {
         if (endTimeOffset_ != null) {
           endTimeOffset_ =
-              com.google.protobuf.Duration.newBuilder(endTimeOffset_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(endTimeOffset_).mergeFrom(value).buildPartial();
         } else {
           endTimeOffset_ = value;
         }
@@ -1193,8 +1079,6 @@ public Builder mergeEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * End time in seconds for the atom, relative to the input file timeline.
      * When `end_time_offset` is not specified, the `inputs` are used until
@@ -1215,8 +1099,6 @@ public Builder clearEndTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * End time in seconds for the atom, relative to the input file timeline.
      * When `end_time_offset` is not specified, the `inputs` are used until
@@ -1226,13 +1108,11 @@ public Builder clearEndTimeOffset() {
      * .google.protobuf.Duration end_time_offset = 3;
      */
     public com.google.protobuf.Duration.Builder getEndTimeOffsetBuilder() {
-
+      
       onChanged();
       return getEndTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * End time in seconds for the atom, relative to the input file timeline.
      * When `end_time_offset` is not specified, the `inputs` are used until
@@ -1245,14 +1125,11 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
       if (endTimeOffsetBuilder_ != null) {
         return endTimeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return endTimeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : endTimeOffset_;
+        return endTimeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : endTimeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * End time in seconds for the atom, relative to the input file timeline.
      * When `end_time_offset` is not specified, the `inputs` are used until
@@ -1262,17 +1139,14 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
      * .google.protobuf.Duration end_time_offset = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getEndTimeOffsetFieldBuilder() {
       if (endTimeOffsetBuilder_ == null) {
-        endTimeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getEndTimeOffset(), getParentForChildren(), isClean());
+        endTimeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getEndTimeOffset(),
+                getParentForChildren(),
+                isClean());
         endTimeOffset_ = null;
       }
       return endTimeOffsetBuilder_;
@@ -1280,49 +1154,36 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
 
     private com.google.protobuf.Duration startTimeOffset_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        startTimeOffsetBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> startTimeOffsetBuilder_;
     /**
-     *
-     *
      * 
      * Start time in seconds for the atom, relative to the input file timeline.
      * The default is `0s`.
      * 
* * .google.protobuf.Duration start_time_offset = 4; - * * @return Whether the startTimeOffset field is set. */ public boolean hasStartTimeOffset() { return startTimeOffsetBuilder_ != null || startTimeOffset_ != null; } /** - * - * *
      * Start time in seconds for the atom, relative to the input file timeline.
      * The default is `0s`.
      * 
* * .google.protobuf.Duration start_time_offset = 4; - * * @return The startTimeOffset. */ public com.google.protobuf.Duration getStartTimeOffset() { if (startTimeOffsetBuilder_ == null) { - return startTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : startTimeOffset_; + return startTimeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTimeOffset_; } else { return startTimeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Start time in seconds for the atom, relative to the input file timeline.
      * The default is `0s`.
@@ -1344,8 +1205,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start time in seconds for the atom, relative to the input file timeline.
      * The default is `0s`.
@@ -1353,7 +1212,8 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration start_time_offset = 4;
      */
-    public Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStartTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (startTimeOffsetBuilder_ == null) {
         startTimeOffset_ = builderForValue.build();
         onChanged();
@@ -1364,8 +1224,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Start time in seconds for the atom, relative to the input file timeline.
      * The default is `0s`.
@@ -1377,9 +1235,7 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) {
       if (startTimeOffsetBuilder_ == null) {
         if (startTimeOffset_ != null) {
           startTimeOffset_ =
-              com.google.protobuf.Duration.newBuilder(startTimeOffset_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(startTimeOffset_).mergeFrom(value).buildPartial();
         } else {
           startTimeOffset_ = value;
         }
@@ -1391,8 +1247,6 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start time in seconds for the atom, relative to the input file timeline.
      * The default is `0s`.
@@ -1412,8 +1266,6 @@ public Builder clearStartTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start time in seconds for the atom, relative to the input file timeline.
      * The default is `0s`.
@@ -1422,13 +1274,11 @@ public Builder clearStartTimeOffset() {
      * .google.protobuf.Duration start_time_offset = 4;
      */
     public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder() {
-
+      
       onChanged();
       return getStartTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Start time in seconds for the atom, relative to the input file timeline.
      * The default is `0s`.
@@ -1440,14 +1290,11 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() {
       if (startTimeOffsetBuilder_ != null) {
         return startTimeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return startTimeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : startTimeOffset_;
+        return startTimeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : startTimeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * Start time in seconds for the atom, relative to the input file timeline.
      * The default is `0s`.
@@ -1456,24 +1303,21 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() {
      * .google.protobuf.Duration start_time_offset = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getStartTimeOffsetFieldBuilder() {
       if (startTimeOffsetBuilder_ == null) {
-        startTimeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getStartTimeOffset(), getParentForChildren(), isClean());
+        startTimeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getStartTimeOffset(),
+                getParentForChildren(),
+                isClean());
         startTimeOffset_ = null;
       }
       return startTimeOffsetBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1483,12 +1327,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.EditAtom)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.EditAtom)
   private static final com.google.cloud.video.transcoder.v1.EditAtom DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.EditAtom();
   }
@@ -1497,16 +1341,16 @@ public static com.google.cloud.video.transcoder.v1.EditAtom getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public EditAtom parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new EditAtom(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public EditAtom parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new EditAtom(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1521,4 +1365,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.video.transcoder.v1.EditAtom getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EditAtomOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EditAtomOrBuilder.java
similarity index 80%
rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EditAtomOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EditAtomOrBuilder.java
index b14f53d4..4cbbd971 100644
--- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EditAtomOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EditAtomOrBuilder.java
@@ -1,113 +1,80 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/video/transcoder/v1/resources.proto
 
 package com.google.cloud.video.transcoder.v1;
 
-public interface EditAtomOrBuilder
-    extends
+public interface EditAtomOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.EditAtom)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A unique key for this atom. Must be specified when using advanced
    * mapping.
    * 
* * string key = 1; - * * @return The key. */ java.lang.String getKey(); /** - * - * *
    * A unique key for this atom. Must be specified when using advanced
    * mapping.
    * 
* * string key = 1; - * * @return The bytes for key. */ - com.google.protobuf.ByteString getKeyBytes(); + com.google.protobuf.ByteString + getKeyBytes(); /** - * - * *
    * List of `Input.key`s identifying files that should be used in this atom.
    * The listed `inputs` must have the same timeline.
    * 
* * repeated string inputs = 2; - * * @return A list containing the inputs. */ - java.util.List getInputsList(); + java.util.List + getInputsList(); /** - * - * *
    * List of `Input.key`s identifying files that should be used in this atom.
    * The listed `inputs` must have the same timeline.
    * 
* * repeated string inputs = 2; - * * @return The count of inputs. */ int getInputsCount(); /** - * - * *
    * List of `Input.key`s identifying files that should be used in this atom.
    * The listed `inputs` must have the same timeline.
    * 
* * repeated string inputs = 2; - * * @param index The index of the element to return. * @return The inputs at the given index. */ java.lang.String getInputs(int index); /** - * - * *
    * List of `Input.key`s identifying files that should be used in this atom.
    * The listed `inputs` must have the same timeline.
    * 
* * repeated string inputs = 2; - * * @param index The index of the value to return. * @return The bytes of the inputs at the given index. */ - com.google.protobuf.ByteString getInputsBytes(int index); + com.google.protobuf.ByteString + getInputsBytes(int index); /** - * - * *
    * End time in seconds for the atom, relative to the input file timeline.
    * When `end_time_offset` is not specified, the `inputs` are used until
@@ -115,13 +82,10 @@ public interface EditAtomOrBuilder
    * 
* * .google.protobuf.Duration end_time_offset = 3; - * * @return Whether the endTimeOffset field is set. */ boolean hasEndTimeOffset(); /** - * - * *
    * End time in seconds for the atom, relative to the input file timeline.
    * When `end_time_offset` is not specified, the `inputs` are used until
@@ -129,13 +93,10 @@ public interface EditAtomOrBuilder
    * 
* * .google.protobuf.Duration end_time_offset = 3; - * * @return The endTimeOffset. */ com.google.protobuf.Duration getEndTimeOffset(); /** - * - * *
    * End time in seconds for the atom, relative to the input file timeline.
    * When `end_time_offset` is not specified, the `inputs` are used until
@@ -147,34 +108,26 @@ public interface EditAtomOrBuilder
   com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Start time in seconds for the atom, relative to the input file timeline.
    * The default is `0s`.
    * 
* * .google.protobuf.Duration start_time_offset = 4; - * * @return Whether the startTimeOffset field is set. */ boolean hasStartTimeOffset(); /** - * - * *
    * Start time in seconds for the atom, relative to the input file timeline.
    * The default is `0s`.
    * 
* * .google.protobuf.Duration start_time_offset = 4; - * * @return The startTimeOffset. */ com.google.protobuf.Duration getStartTimeOffset(); /** - * - * *
    * Start time in seconds for the atom, relative to the input file timeline.
    * The default is `0s`.
diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStream.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStream.java
similarity index 71%
rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStream.java
rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStream.java
index 52770e94..60db2e77 100644
--- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStream.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStream.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/video/transcoder/v1/resources.proto
 
 package com.google.cloud.video.transcoder.v1;
 
 /**
- *
- *
  * 
  * Encoding of an input file such as an audio, video, or text track.
  * Elementary streams must be packaged before
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.video.transcoder.v1.ElementaryStream}
  */
-public final class ElementaryStream extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ElementaryStream extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.ElementaryStream)
     ElementaryStreamOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ElementaryStream.newBuilder() to construct.
   private ElementaryStream(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ElementaryStream() {
     key_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ElementaryStream();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ElementaryStream(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,77 +55,61 @@ private ElementaryStream(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.video.transcoder.v1.VideoStream.Builder subBuilder = null;
-              if (elementaryStreamCase_ == 1) {
-                subBuilder =
-                    ((com.google.cloud.video.transcoder.v1.VideoStream) elementaryStream_)
-                        .toBuilder();
-              }
-              elementaryStream_ =
-                  input.readMessage(
-                      com.google.cloud.video.transcoder.v1.VideoStream.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.video.transcoder.v1.VideoStream) elementaryStream_);
-                elementaryStream_ = subBuilder.buildPartial();
-              }
-              elementaryStreamCase_ = 1;
-              break;
+          case 10: {
+            com.google.cloud.video.transcoder.v1.VideoStream.Builder subBuilder = null;
+            if (elementaryStreamCase_ == 1) {
+              subBuilder = ((com.google.cloud.video.transcoder.v1.VideoStream) elementaryStream_).toBuilder();
+            }
+            elementaryStream_ =
+                input.readMessage(com.google.cloud.video.transcoder.v1.VideoStream.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.video.transcoder.v1.VideoStream) elementaryStream_);
+              elementaryStream_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.cloud.video.transcoder.v1.AudioStream.Builder subBuilder = null;
-              if (elementaryStreamCase_ == 2) {
-                subBuilder =
-                    ((com.google.cloud.video.transcoder.v1.AudioStream) elementaryStream_)
-                        .toBuilder();
-              }
-              elementaryStream_ =
-                  input.readMessage(
-                      com.google.cloud.video.transcoder.v1.AudioStream.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.video.transcoder.v1.AudioStream) elementaryStream_);
-                elementaryStream_ = subBuilder.buildPartial();
-              }
-              elementaryStreamCase_ = 2;
-              break;
+            elementaryStreamCase_ = 1;
+            break;
+          }
+          case 18: {
+            com.google.cloud.video.transcoder.v1.AudioStream.Builder subBuilder = null;
+            if (elementaryStreamCase_ == 2) {
+              subBuilder = ((com.google.cloud.video.transcoder.v1.AudioStream) elementaryStream_).toBuilder();
             }
-          case 26:
-            {
-              com.google.cloud.video.transcoder.v1.TextStream.Builder subBuilder = null;
-              if (elementaryStreamCase_ == 3) {
-                subBuilder =
-                    ((com.google.cloud.video.transcoder.v1.TextStream) elementaryStream_)
-                        .toBuilder();
-              }
-              elementaryStream_ =
-                  input.readMessage(
-                      com.google.cloud.video.transcoder.v1.TextStream.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.video.transcoder.v1.TextStream) elementaryStream_);
-                elementaryStream_ = subBuilder.buildPartial();
-              }
-              elementaryStreamCase_ = 3;
-              break;
+            elementaryStream_ =
+                input.readMessage(com.google.cloud.video.transcoder.v1.AudioStream.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.video.transcoder.v1.AudioStream) elementaryStream_);
+              elementaryStream_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              key_ = s;
-              break;
+            elementaryStreamCase_ = 2;
+            break;
+          }
+          case 26: {
+            com.google.cloud.video.transcoder.v1.TextStream.Builder subBuilder = null;
+            if (elementaryStreamCase_ == 3) {
+              subBuilder = ((com.google.cloud.video.transcoder.v1.TextStream) elementaryStream_).toBuilder();
+            }
+            elementaryStream_ =
+                input.readMessage(com.google.cloud.video.transcoder.v1.TextStream.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.video.transcoder.v1.TextStream) elementaryStream_);
+              elementaryStream_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            elementaryStreamCase_ = 3;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            key_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -150,41 +117,36 @@ private ElementaryStream(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.video.transcoder.v1.ResourcesProto
-        .internal_static_google_cloud_video_transcoder_v1_ElementaryStream_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_ElementaryStream_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.video.transcoder.v1.ResourcesProto
-        .internal_static_google_cloud_video_transcoder_v1_ElementaryStream_fieldAccessorTable
+    return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_ElementaryStream_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.video.transcoder.v1.ElementaryStream.class,
-            com.google.cloud.video.transcoder.v1.ElementaryStream.Builder.class);
+            com.google.cloud.video.transcoder.v1.ElementaryStream.class, com.google.cloud.video.transcoder.v1.ElementaryStream.Builder.class);
   }
 
   private int elementaryStreamCase_ = 0;
   private java.lang.Object elementaryStream_;
-
   public enum ElementaryStreamCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     VIDEO_STREAM(1),
     AUDIO_STREAM(2),
     TEXT_STREAM(3),
     ELEMENTARYSTREAM_NOT_SET(0);
     private final int value;
-
     private ElementaryStreamCase(int value) {
       this.value = value;
     }
@@ -200,39 +162,32 @@ public static ElementaryStreamCase valueOf(int value) {
 
     public static ElementaryStreamCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return VIDEO_STREAM;
-        case 2:
-          return AUDIO_STREAM;
-        case 3:
-          return TEXT_STREAM;
-        case 0:
-          return ELEMENTARYSTREAM_NOT_SET;
-        default:
-          return null;
+        case 1: return VIDEO_STREAM;
+        case 2: return AUDIO_STREAM;
+        case 3: return TEXT_STREAM;
+        case 0: return ELEMENTARYSTREAM_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ElementaryStreamCase getElementaryStreamCase() {
-    return ElementaryStreamCase.forNumber(elementaryStreamCase_);
+  public ElementaryStreamCase
+  getElementaryStreamCase() {
+    return ElementaryStreamCase.forNumber(
+        elementaryStreamCase_);
   }
 
   public static final int KEY_FIELD_NUMBER = 4;
   private volatile java.lang.Object key_;
   /**
-   *
-   *
    * 
    * A unique key for this elementary stream.
    * 
* * string key = 4; - * * @return The key. */ @java.lang.Override @@ -241,29 +196,29 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** - * - * *
    * A unique key for this elementary stream.
    * 
* * string key = 4; - * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -273,14 +228,11 @@ public com.google.protobuf.ByteString getKeyBytes() { public static final int VIDEO_STREAM_FIELD_NUMBER = 1; /** - * - * *
    * Encoding of a video stream.
    * 
* * .google.cloud.video.transcoder.v1.VideoStream video_stream = 1; - * * @return Whether the videoStream field is set. */ @java.lang.Override @@ -288,26 +240,21 @@ public boolean hasVideoStream() { return elementaryStreamCase_ == 1; } /** - * - * *
    * Encoding of a video stream.
    * 
* * .google.cloud.video.transcoder.v1.VideoStream video_stream = 1; - * * @return The videoStream. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.VideoStream getVideoStream() { if (elementaryStreamCase_ == 1) { - return (com.google.cloud.video.transcoder.v1.VideoStream) elementaryStream_; + return (com.google.cloud.video.transcoder.v1.VideoStream) elementaryStream_; } return com.google.cloud.video.transcoder.v1.VideoStream.getDefaultInstance(); } /** - * - * *
    * Encoding of a video stream.
    * 
@@ -317,21 +264,18 @@ public com.google.cloud.video.transcoder.v1.VideoStream getVideoStream() { @java.lang.Override public com.google.cloud.video.transcoder.v1.VideoStreamOrBuilder getVideoStreamOrBuilder() { if (elementaryStreamCase_ == 1) { - return (com.google.cloud.video.transcoder.v1.VideoStream) elementaryStream_; + return (com.google.cloud.video.transcoder.v1.VideoStream) elementaryStream_; } return com.google.cloud.video.transcoder.v1.VideoStream.getDefaultInstance(); } public static final int AUDIO_STREAM_FIELD_NUMBER = 2; /** - * - * *
    * Encoding of an audio stream.
    * 
* * .google.cloud.video.transcoder.v1.AudioStream audio_stream = 2; - * * @return Whether the audioStream field is set. */ @java.lang.Override @@ -339,26 +283,21 @@ public boolean hasAudioStream() { return elementaryStreamCase_ == 2; } /** - * - * *
    * Encoding of an audio stream.
    * 
* * .google.cloud.video.transcoder.v1.AudioStream audio_stream = 2; - * * @return The audioStream. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.AudioStream getAudioStream() { if (elementaryStreamCase_ == 2) { - return (com.google.cloud.video.transcoder.v1.AudioStream) elementaryStream_; + return (com.google.cloud.video.transcoder.v1.AudioStream) elementaryStream_; } return com.google.cloud.video.transcoder.v1.AudioStream.getDefaultInstance(); } /** - * - * *
    * Encoding of an audio stream.
    * 
@@ -368,21 +307,18 @@ public com.google.cloud.video.transcoder.v1.AudioStream getAudioStream() { @java.lang.Override public com.google.cloud.video.transcoder.v1.AudioStreamOrBuilder getAudioStreamOrBuilder() { if (elementaryStreamCase_ == 2) { - return (com.google.cloud.video.transcoder.v1.AudioStream) elementaryStream_; + return (com.google.cloud.video.transcoder.v1.AudioStream) elementaryStream_; } return com.google.cloud.video.transcoder.v1.AudioStream.getDefaultInstance(); } public static final int TEXT_STREAM_FIELD_NUMBER = 3; /** - * - * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
* * .google.cloud.video.transcoder.v1.TextStream text_stream = 3; - * * @return Whether the textStream field is set. */ @java.lang.Override @@ -390,26 +326,21 @@ public boolean hasTextStream() { return elementaryStreamCase_ == 3; } /** - * - * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
* * .google.cloud.video.transcoder.v1.TextStream text_stream = 3; - * * @return The textStream. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.TextStream getTextStream() { if (elementaryStreamCase_ == 3) { - return (com.google.cloud.video.transcoder.v1.TextStream) elementaryStream_; + return (com.google.cloud.video.transcoder.v1.TextStream) elementaryStream_; } return com.google.cloud.video.transcoder.v1.TextStream.getDefaultInstance(); } /** - * - * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
@@ -419,13 +350,12 @@ public com.google.cloud.video.transcoder.v1.TextStream getTextStream() { @java.lang.Override public com.google.cloud.video.transcoder.v1.TextStreamOrBuilder getTextStreamOrBuilder() { if (elementaryStreamCase_ == 3) { - return (com.google.cloud.video.transcoder.v1.TextStream) elementaryStream_; + return (com.google.cloud.video.transcoder.v1.TextStream) elementaryStream_; } return com.google.cloud.video.transcoder.v1.TextStream.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -437,7 +367,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (elementaryStreamCase_ == 1) { output.writeMessage(1, (com.google.cloud.video.transcoder.v1.VideoStream) elementaryStream_); } @@ -460,19 +391,16 @@ public int getSerializedSize() { size = 0; if (elementaryStreamCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.video.transcoder.v1.VideoStream) elementaryStream_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.video.transcoder.v1.VideoStream) elementaryStream_); } if (elementaryStreamCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.video.transcoder.v1.AudioStream) elementaryStream_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.video.transcoder.v1.AudioStream) elementaryStream_); } if (elementaryStreamCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.video.transcoder.v1.TextStream) elementaryStream_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.video.transcoder.v1.TextStream) elementaryStream_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, key_); @@ -485,25 +413,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.ElementaryStream)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.ElementaryStream other = - (com.google.cloud.video.transcoder.v1.ElementaryStream) obj; + com.google.cloud.video.transcoder.v1.ElementaryStream other = (com.google.cloud.video.transcoder.v1.ElementaryStream) obj; - if (!getKey().equals(other.getKey())) return false; + if (!getKey() + .equals(other.getKey())) return false; if (!getElementaryStreamCase().equals(other.getElementaryStreamCase())) return false; switch (elementaryStreamCase_) { case 1: - if (!getVideoStream().equals(other.getVideoStream())) return false; + if (!getVideoStream() + .equals(other.getVideoStream())) return false; break; case 2: - if (!getAudioStream().equals(other.getAudioStream())) return false; + if (!getAudioStream() + .equals(other.getAudioStream())) return false; break; case 3: - if (!getTextStream().equals(other.getTextStream())) return false; + if (!getTextStream() + .equals(other.getTextStream())) return false; break; case 0: default: @@ -543,104 +474,96 @@ public int hashCode() { } public static com.google.cloud.video.transcoder.v1.ElementaryStream parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.ElementaryStream parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.ElementaryStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.ElementaryStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.ElementaryStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.ElementaryStream parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.ElementaryStream parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.ElementaryStream parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.ElementaryStream parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.ElementaryStream parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.ElementaryStream parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.ElementaryStream parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.ElementaryStream parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.ElementaryStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.ElementaryStream prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.ElementaryStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Encoding of an input file such as an audio, video, or text track.
    * Elementary streams must be packaged before
@@ -649,23 +572,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.video.transcoder.v1.ElementaryStream}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.ElementaryStream)
       com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.video.transcoder.v1.ResourcesProto
-          .internal_static_google_cloud_video_transcoder_v1_ElementaryStream_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_ElementaryStream_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.transcoder.v1.ResourcesProto
-          .internal_static_google_cloud_video_transcoder_v1_ElementaryStream_fieldAccessorTable
+      return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_ElementaryStream_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.transcoder.v1.ElementaryStream.class,
-              com.google.cloud.video.transcoder.v1.ElementaryStream.Builder.class);
+              com.google.cloud.video.transcoder.v1.ElementaryStream.class, com.google.cloud.video.transcoder.v1.ElementaryStream.Builder.class);
     }
 
     // Construct using com.google.cloud.video.transcoder.v1.ElementaryStream.newBuilder()
@@ -673,15 +594,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -693,9 +615,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.video.transcoder.v1.ResourcesProto
-          .internal_static_google_cloud_video_transcoder_v1_ElementaryStream_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_ElementaryStream_descriptor;
     }
 
     @java.lang.Override
@@ -714,8 +636,7 @@ public com.google.cloud.video.transcoder.v1.ElementaryStream build() {
 
     @java.lang.Override
     public com.google.cloud.video.transcoder.v1.ElementaryStream buildPartial() {
-      com.google.cloud.video.transcoder.v1.ElementaryStream result =
-          new com.google.cloud.video.transcoder.v1.ElementaryStream(this);
+      com.google.cloud.video.transcoder.v1.ElementaryStream result = new com.google.cloud.video.transcoder.v1.ElementaryStream(this);
       result.key_ = key_;
       if (elementaryStreamCase_ == 1) {
         if (videoStreamBuilder_ == null) {
@@ -747,39 +668,38 @@ public com.google.cloud.video.transcoder.v1.ElementaryStream buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.video.transcoder.v1.ElementaryStream) {
-        return mergeFrom((com.google.cloud.video.transcoder.v1.ElementaryStream) other);
+        return mergeFrom((com.google.cloud.video.transcoder.v1.ElementaryStream)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -787,32 +707,27 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.video.transcoder.v1.ElementaryStream other) {
-      if (other == com.google.cloud.video.transcoder.v1.ElementaryStream.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.video.transcoder.v1.ElementaryStream.getDefaultInstance()) return this;
       if (!other.getKey().isEmpty()) {
         key_ = other.key_;
         onChanged();
       }
       switch (other.getElementaryStreamCase()) {
-        case VIDEO_STREAM:
-          {
-            mergeVideoStream(other.getVideoStream());
-            break;
-          }
-        case AUDIO_STREAM:
-          {
-            mergeAudioStream(other.getAudioStream());
-            break;
-          }
-        case TEXT_STREAM:
-          {
-            mergeTextStream(other.getTextStream());
-            break;
-          }
-        case ELEMENTARYSTREAM_NOT_SET:
-          {
-            break;
-          }
+        case VIDEO_STREAM: {
+          mergeVideoStream(other.getVideoStream());
+          break;
+        }
+        case AUDIO_STREAM: {
+          mergeAudioStream(other.getAudioStream());
+          break;
+        }
+        case TEXT_STREAM: {
+          mergeTextStream(other.getTextStream());
+          break;
+        }
+        case ELEMENTARYSTREAM_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -833,8 +748,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.video.transcoder.v1.ElementaryStream) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.video.transcoder.v1.ElementaryStream) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -843,12 +757,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int elementaryStreamCase_ = 0;
     private java.lang.Object elementaryStream_;
-
-    public ElementaryStreamCase getElementaryStreamCase() {
-      return ElementaryStreamCase.forNumber(elementaryStreamCase_);
+    public ElementaryStreamCase
+        getElementaryStreamCase() {
+      return ElementaryStreamCase.forNumber(
+          elementaryStreamCase_);
     }
 
     public Builder clearElementaryStream() {
@@ -858,22 +772,21 @@ public Builder clearElementaryStream() {
       return this;
     }
 
+
     private java.lang.Object key_ = "";
     /**
-     *
-     *
      * 
      * A unique key for this elementary stream.
      * 
* * string key = 4; - * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -882,21 +795,20 @@ public java.lang.String getKey() { } } /** - * - * *
      * A unique key for this elementary stream.
      * 
* * string key = 4; - * * @return The bytes for key. */ - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -904,80 +816,67 @@ public com.google.protobuf.ByteString getKeyBytes() { } } /** - * - * *
      * A unique key for this elementary stream.
      * 
* * string key = 4; - * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey(java.lang.String value) { + public Builder setKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** - * - * *
      * A unique key for this elementary stream.
      * 
* * string key = 4; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** - * - * *
      * A unique key for this elementary stream.
      * 
* * string key = 4; - * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.VideoStream, - com.google.cloud.video.transcoder.v1.VideoStream.Builder, - com.google.cloud.video.transcoder.v1.VideoStreamOrBuilder> - videoStreamBuilder_; + com.google.cloud.video.transcoder.v1.VideoStream, com.google.cloud.video.transcoder.v1.VideoStream.Builder, com.google.cloud.video.transcoder.v1.VideoStreamOrBuilder> videoStreamBuilder_; /** - * - * *
      * Encoding of a video stream.
      * 
* * .google.cloud.video.transcoder.v1.VideoStream video_stream = 1; - * * @return Whether the videoStream field is set. */ @java.lang.Override @@ -985,14 +884,11 @@ public boolean hasVideoStream() { return elementaryStreamCase_ == 1; } /** - * - * *
      * Encoding of a video stream.
      * 
* * .google.cloud.video.transcoder.v1.VideoStream video_stream = 1; - * * @return The videoStream. */ @java.lang.Override @@ -1010,8 +906,6 @@ public com.google.cloud.video.transcoder.v1.VideoStream getVideoStream() { } } /** - * - * *
      * Encoding of a video stream.
      * 
@@ -1032,8 +926,6 @@ public Builder setVideoStream(com.google.cloud.video.transcoder.v1.VideoStream v return this; } /** - * - * *
      * Encoding of a video stream.
      * 
@@ -1052,8 +944,6 @@ public Builder setVideoStream( return this; } /** - * - * *
      * Encoding of a video stream.
      * 
@@ -1062,14 +952,10 @@ public Builder setVideoStream( */ public Builder mergeVideoStream(com.google.cloud.video.transcoder.v1.VideoStream value) { if (videoStreamBuilder_ == null) { - if (elementaryStreamCase_ == 1 - && elementaryStream_ - != com.google.cloud.video.transcoder.v1.VideoStream.getDefaultInstance()) { - elementaryStream_ = - com.google.cloud.video.transcoder.v1.VideoStream.newBuilder( - (com.google.cloud.video.transcoder.v1.VideoStream) elementaryStream_) - .mergeFrom(value) - .buildPartial(); + if (elementaryStreamCase_ == 1 && + elementaryStream_ != com.google.cloud.video.transcoder.v1.VideoStream.getDefaultInstance()) { + elementaryStream_ = com.google.cloud.video.transcoder.v1.VideoStream.newBuilder((com.google.cloud.video.transcoder.v1.VideoStream) elementaryStream_) + .mergeFrom(value).buildPartial(); } else { elementaryStream_ = value; } @@ -1085,8 +971,6 @@ public Builder mergeVideoStream(com.google.cloud.video.transcoder.v1.VideoStream return this; } /** - * - * *
      * Encoding of a video stream.
      * 
@@ -1110,8 +994,6 @@ public Builder clearVideoStream() { return this; } /** - * - * *
      * Encoding of a video stream.
      * 
@@ -1122,8 +1004,6 @@ public com.google.cloud.video.transcoder.v1.VideoStream.Builder getVideoStreamBu return getVideoStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Encoding of a video stream.
      * 
@@ -1142,8 +1022,6 @@ public com.google.cloud.video.transcoder.v1.VideoStreamOrBuilder getVideoStreamO } } /** - * - * *
      * Encoding of a video stream.
      * 
@@ -1151,44 +1029,32 @@ public com.google.cloud.video.transcoder.v1.VideoStreamOrBuilder getVideoStreamO * .google.cloud.video.transcoder.v1.VideoStream video_stream = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.VideoStream, - com.google.cloud.video.transcoder.v1.VideoStream.Builder, - com.google.cloud.video.transcoder.v1.VideoStreamOrBuilder> + com.google.cloud.video.transcoder.v1.VideoStream, com.google.cloud.video.transcoder.v1.VideoStream.Builder, com.google.cloud.video.transcoder.v1.VideoStreamOrBuilder> getVideoStreamFieldBuilder() { if (videoStreamBuilder_ == null) { if (!(elementaryStreamCase_ == 1)) { elementaryStream_ = com.google.cloud.video.transcoder.v1.VideoStream.getDefaultInstance(); } - videoStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.VideoStream, - com.google.cloud.video.transcoder.v1.VideoStream.Builder, - com.google.cloud.video.transcoder.v1.VideoStreamOrBuilder>( + videoStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.transcoder.v1.VideoStream, com.google.cloud.video.transcoder.v1.VideoStream.Builder, com.google.cloud.video.transcoder.v1.VideoStreamOrBuilder>( (com.google.cloud.video.transcoder.v1.VideoStream) elementaryStream_, getParentForChildren(), isClean()); elementaryStream_ = null; } elementaryStreamCase_ = 1; - onChanged(); - ; + onChanged();; return videoStreamBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.AudioStream, - com.google.cloud.video.transcoder.v1.AudioStream.Builder, - com.google.cloud.video.transcoder.v1.AudioStreamOrBuilder> - audioStreamBuilder_; + com.google.cloud.video.transcoder.v1.AudioStream, com.google.cloud.video.transcoder.v1.AudioStream.Builder, com.google.cloud.video.transcoder.v1.AudioStreamOrBuilder> audioStreamBuilder_; /** - * - * *
      * Encoding of an audio stream.
      * 
* * .google.cloud.video.transcoder.v1.AudioStream audio_stream = 2; - * * @return Whether the audioStream field is set. */ @java.lang.Override @@ -1196,14 +1062,11 @@ public boolean hasAudioStream() { return elementaryStreamCase_ == 2; } /** - * - * *
      * Encoding of an audio stream.
      * 
* * .google.cloud.video.transcoder.v1.AudioStream audio_stream = 2; - * * @return The audioStream. */ @java.lang.Override @@ -1221,8 +1084,6 @@ public com.google.cloud.video.transcoder.v1.AudioStream getAudioStream() { } } /** - * - * *
      * Encoding of an audio stream.
      * 
@@ -1243,8 +1104,6 @@ public Builder setAudioStream(com.google.cloud.video.transcoder.v1.AudioStream v return this; } /** - * - * *
      * Encoding of an audio stream.
      * 
@@ -1263,8 +1122,6 @@ public Builder setAudioStream( return this; } /** - * - * *
      * Encoding of an audio stream.
      * 
@@ -1273,14 +1130,10 @@ public Builder setAudioStream( */ public Builder mergeAudioStream(com.google.cloud.video.transcoder.v1.AudioStream value) { if (audioStreamBuilder_ == null) { - if (elementaryStreamCase_ == 2 - && elementaryStream_ - != com.google.cloud.video.transcoder.v1.AudioStream.getDefaultInstance()) { - elementaryStream_ = - com.google.cloud.video.transcoder.v1.AudioStream.newBuilder( - (com.google.cloud.video.transcoder.v1.AudioStream) elementaryStream_) - .mergeFrom(value) - .buildPartial(); + if (elementaryStreamCase_ == 2 && + elementaryStream_ != com.google.cloud.video.transcoder.v1.AudioStream.getDefaultInstance()) { + elementaryStream_ = com.google.cloud.video.transcoder.v1.AudioStream.newBuilder((com.google.cloud.video.transcoder.v1.AudioStream) elementaryStream_) + .mergeFrom(value).buildPartial(); } else { elementaryStream_ = value; } @@ -1296,8 +1149,6 @@ public Builder mergeAudioStream(com.google.cloud.video.transcoder.v1.AudioStream return this; } /** - * - * *
      * Encoding of an audio stream.
      * 
@@ -1321,8 +1172,6 @@ public Builder clearAudioStream() { return this; } /** - * - * *
      * Encoding of an audio stream.
      * 
@@ -1333,8 +1182,6 @@ public com.google.cloud.video.transcoder.v1.AudioStream.Builder getAudioStreamBu return getAudioStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Encoding of an audio stream.
      * 
@@ -1353,8 +1200,6 @@ public com.google.cloud.video.transcoder.v1.AudioStreamOrBuilder getAudioStreamO } } /** - * - * *
      * Encoding of an audio stream.
      * 
@@ -1362,44 +1207,32 @@ public com.google.cloud.video.transcoder.v1.AudioStreamOrBuilder getAudioStreamO * .google.cloud.video.transcoder.v1.AudioStream audio_stream = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.AudioStream, - com.google.cloud.video.transcoder.v1.AudioStream.Builder, - com.google.cloud.video.transcoder.v1.AudioStreamOrBuilder> + com.google.cloud.video.transcoder.v1.AudioStream, com.google.cloud.video.transcoder.v1.AudioStream.Builder, com.google.cloud.video.transcoder.v1.AudioStreamOrBuilder> getAudioStreamFieldBuilder() { if (audioStreamBuilder_ == null) { if (!(elementaryStreamCase_ == 2)) { elementaryStream_ = com.google.cloud.video.transcoder.v1.AudioStream.getDefaultInstance(); } - audioStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.AudioStream, - com.google.cloud.video.transcoder.v1.AudioStream.Builder, - com.google.cloud.video.transcoder.v1.AudioStreamOrBuilder>( + audioStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.transcoder.v1.AudioStream, com.google.cloud.video.transcoder.v1.AudioStream.Builder, com.google.cloud.video.transcoder.v1.AudioStreamOrBuilder>( (com.google.cloud.video.transcoder.v1.AudioStream) elementaryStream_, getParentForChildren(), isClean()); elementaryStream_ = null; } elementaryStreamCase_ = 2; - onChanged(); - ; + onChanged();; return audioStreamBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.TextStream, - com.google.cloud.video.transcoder.v1.TextStream.Builder, - com.google.cloud.video.transcoder.v1.TextStreamOrBuilder> - textStreamBuilder_; + com.google.cloud.video.transcoder.v1.TextStream, com.google.cloud.video.transcoder.v1.TextStream.Builder, com.google.cloud.video.transcoder.v1.TextStreamOrBuilder> textStreamBuilder_; /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
* * .google.cloud.video.transcoder.v1.TextStream text_stream = 3; - * * @return Whether the textStream field is set. */ @java.lang.Override @@ -1407,14 +1240,11 @@ public boolean hasTextStream() { return elementaryStreamCase_ == 3; } /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
* * .google.cloud.video.transcoder.v1.TextStream text_stream = 3; - * * @return The textStream. */ @java.lang.Override @@ -1432,8 +1262,6 @@ public com.google.cloud.video.transcoder.v1.TextStream getTextStream() { } } /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1454,8 +1282,6 @@ public Builder setTextStream(com.google.cloud.video.transcoder.v1.TextStream val return this; } /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1474,8 +1300,6 @@ public Builder setTextStream( return this; } /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1484,14 +1308,10 @@ public Builder setTextStream( */ public Builder mergeTextStream(com.google.cloud.video.transcoder.v1.TextStream value) { if (textStreamBuilder_ == null) { - if (elementaryStreamCase_ == 3 - && elementaryStream_ - != com.google.cloud.video.transcoder.v1.TextStream.getDefaultInstance()) { - elementaryStream_ = - com.google.cloud.video.transcoder.v1.TextStream.newBuilder( - (com.google.cloud.video.transcoder.v1.TextStream) elementaryStream_) - .mergeFrom(value) - .buildPartial(); + if (elementaryStreamCase_ == 3 && + elementaryStream_ != com.google.cloud.video.transcoder.v1.TextStream.getDefaultInstance()) { + elementaryStream_ = com.google.cloud.video.transcoder.v1.TextStream.newBuilder((com.google.cloud.video.transcoder.v1.TextStream) elementaryStream_) + .mergeFrom(value).buildPartial(); } else { elementaryStream_ = value; } @@ -1507,8 +1327,6 @@ public Builder mergeTextStream(com.google.cloud.video.transcoder.v1.TextStream v return this; } /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1532,8 +1350,6 @@ public Builder clearTextStream() { return this; } /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1544,8 +1360,6 @@ public com.google.cloud.video.transcoder.v1.TextStream.Builder getTextStreamBuil return getTextStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1564,8 +1378,6 @@ public com.google.cloud.video.transcoder.v1.TextStreamOrBuilder getTextStreamOrB } } /** - * - * *
      * Encoding of a text stream. For example, closed captions or subtitles.
      * 
@@ -1573,32 +1385,26 @@ public com.google.cloud.video.transcoder.v1.TextStreamOrBuilder getTextStreamOrB * .google.cloud.video.transcoder.v1.TextStream text_stream = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.TextStream, - com.google.cloud.video.transcoder.v1.TextStream.Builder, - com.google.cloud.video.transcoder.v1.TextStreamOrBuilder> + com.google.cloud.video.transcoder.v1.TextStream, com.google.cloud.video.transcoder.v1.TextStream.Builder, com.google.cloud.video.transcoder.v1.TextStreamOrBuilder> getTextStreamFieldBuilder() { if (textStreamBuilder_ == null) { if (!(elementaryStreamCase_ == 3)) { elementaryStream_ = com.google.cloud.video.transcoder.v1.TextStream.getDefaultInstance(); } - textStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.TextStream, - com.google.cloud.video.transcoder.v1.TextStream.Builder, - com.google.cloud.video.transcoder.v1.TextStreamOrBuilder>( + textStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.transcoder.v1.TextStream, com.google.cloud.video.transcoder.v1.TextStream.Builder, com.google.cloud.video.transcoder.v1.TextStreamOrBuilder>( (com.google.cloud.video.transcoder.v1.TextStream) elementaryStream_, getParentForChildren(), isClean()); elementaryStream_ = null; } elementaryStreamCase_ = 3; - onChanged(); - ; + onChanged();; return textStreamBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1608,12 +1414,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.ElementaryStream) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.ElementaryStream) private static final com.google.cloud.video.transcoder.v1.ElementaryStream DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.ElementaryStream(); } @@ -1622,16 +1428,16 @@ public static com.google.cloud.video.transcoder.v1.ElementaryStream getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ElementaryStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ElementaryStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ElementaryStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ElementaryStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1646,4 +1452,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.ElementaryStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStreamOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStreamOrBuilder.java similarity index 76% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStreamOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStreamOrBuilder.java index 933520d0..570cfd5c 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStreamOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStreamOrBuilder.java @@ -1,80 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; -public interface ElementaryStreamOrBuilder - extends +public interface ElementaryStreamOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.ElementaryStream) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A unique key for this elementary stream.
    * 
* * string key = 4; - * * @return The key. */ java.lang.String getKey(); /** - * - * *
    * A unique key for this elementary stream.
    * 
* * string key = 4; - * * @return The bytes for key. */ - com.google.protobuf.ByteString getKeyBytes(); + com.google.protobuf.ByteString + getKeyBytes(); /** - * - * *
    * Encoding of a video stream.
    * 
* * .google.cloud.video.transcoder.v1.VideoStream video_stream = 1; - * * @return Whether the videoStream field is set. */ boolean hasVideoStream(); /** - * - * *
    * Encoding of a video stream.
    * 
* * .google.cloud.video.transcoder.v1.VideoStream video_stream = 1; - * * @return The videoStream. */ com.google.cloud.video.transcoder.v1.VideoStream getVideoStream(); /** - * - * *
    * Encoding of a video stream.
    * 
@@ -84,32 +55,24 @@ public interface ElementaryStreamOrBuilder com.google.cloud.video.transcoder.v1.VideoStreamOrBuilder getVideoStreamOrBuilder(); /** - * - * *
    * Encoding of an audio stream.
    * 
* * .google.cloud.video.transcoder.v1.AudioStream audio_stream = 2; - * * @return Whether the audioStream field is set. */ boolean hasAudioStream(); /** - * - * *
    * Encoding of an audio stream.
    * 
* * .google.cloud.video.transcoder.v1.AudioStream audio_stream = 2; - * * @return The audioStream. */ com.google.cloud.video.transcoder.v1.AudioStream getAudioStream(); /** - * - * *
    * Encoding of an audio stream.
    * 
@@ -119,32 +82,24 @@ public interface ElementaryStreamOrBuilder com.google.cloud.video.transcoder.v1.AudioStreamOrBuilder getAudioStreamOrBuilder(); /** - * - * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
* * .google.cloud.video.transcoder.v1.TextStream text_stream = 3; - * * @return Whether the textStream field is set. */ boolean hasTextStream(); /** - * - * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
* * .google.cloud.video.transcoder.v1.TextStream text_stream = 3; - * * @return The textStream. */ com.google.cloud.video.transcoder.v1.TextStream getTextStream(); /** - * - * *
    * Encoding of a text stream. For example, closed captions or subtitles.
    * 
@@ -153,6 +108,5 @@ public interface ElementaryStreamOrBuilder */ com.google.cloud.video.transcoder.v1.TextStreamOrBuilder getTextStreamOrBuilder(); - public com.google.cloud.video.transcoder.v1.ElementaryStream.ElementaryStreamCase - getElementaryStreamCase(); + public com.google.cloud.video.transcoder.v1.ElementaryStream.ElementaryStreamCase getElementaryStreamCase(); } diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobRequest.java similarity index 65% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobRequest.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobRequest.java index a3bd05e9..c95e93d7 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/services.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Request message for `TranscoderService.GetJob`.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.GetJobRequest} */ -public final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.GetJobRequest) GetJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_GetJobRequest_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.GetJobRequest.class, - com.google.cloud.video.transcoder.v1.GetJobRequest.Builder.class); + com.google.cloud.video.transcoder.v1.GetJobRequest.class, com.google.cloud.video.transcoder.v1.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the job to retrieve.
    * Format: `projects/{project}/locations/{location}/jobs/{job}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the job to retrieve.
    * Format: `projects/{project}/locations/{location}/jobs/{job}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.GetJobRequest)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.GetJobRequest other = - (com.google.cloud.video.transcoder.v1.GetJobRequest) obj; + com.google.cloud.video.transcoder.v1.GetJobRequest other = (com.google.cloud.video.transcoder.v1.GetJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.video.transcoder.v1.GetJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.GetJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.GetJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.GetJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.GetJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.GetJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.GetJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.GetJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.GetJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.transcoder.v1.GetJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `TranscoderService.GetJob`.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.GetJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.GetJobRequest) com.google.cloud.video.transcoder.v1.GetJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_GetJobRequest_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.GetJobRequest.class, - com.google.cloud.video.transcoder.v1.GetJobRequest.Builder.class); + com.google.cloud.video.transcoder.v1.GetJobRequest.class, com.google.cloud.video.transcoder.v1.GetJobRequest.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.GetJobRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_GetJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_GetJobRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.video.transcoder.v1.GetJobRequest build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.GetJobRequest buildPartial() { - com.google.cloud.video.transcoder.v1.GetJobRequest result = - new com.google.cloud.video.transcoder.v1.GetJobRequest(this); + com.google.cloud.video.transcoder.v1.GetJobRequest result = new com.google.cloud.video.transcoder.v1.GetJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.video.transcoder.v1.GetJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.GetJobRequest) { - return mergeFrom((com.google.cloud.video.transcoder.v1.GetJobRequest) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.GetJobRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.transcoder.v1.GetJobRequest other) { - if (other == com.google.cloud.video.transcoder.v1.GetJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.transcoder.v1.GetJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.GetJobRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.transcoder.v1.GetJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the job to retrieve.
      * Format: `projects/{project}/locations/{location}/jobs/{job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the job to retrieve.
      * Format: `projects/{project}/locations/{location}/jobs/{job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the job to retrieve.
      * Format: `projects/{project}/locations/{location}/jobs/{job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the job to retrieve.
      * Format: `projects/{project}/locations/{location}/jobs/{job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the job to retrieve.
      * Format: `projects/{project}/locations/{location}/jobs/{job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.GetJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.GetJobRequest) private static final com.google.cloud.video.transcoder.v1.GetJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.GetJobRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.video.transcoder.v1.GetJobRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobRequestOrBuilder.java new file mode 100644 index 00000000..3e543ec4 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/video/transcoder/v1/services.proto + +package com.google.cloud.video.transcoder.v1; + +public interface GetJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.GetJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the job to retrieve.
+   * Format: `projects/{project}/locations/{location}/jobs/{job}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the job to retrieve.
+   * Format: `projects/{project}/locations/{location}/jobs/{job}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobTemplateRequest.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobTemplateRequest.java similarity index 65% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobTemplateRequest.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobTemplateRequest.java index a2672d86..1ccf9fe8 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobTemplateRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobTemplateRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/services.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Request message for `TranscoderService.GetJobTemplate`.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.GetJobTemplateRequest} */ -public final class GetJobTemplateRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetJobTemplateRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.GetJobTemplateRequest) GetJobTemplateRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetJobTemplateRequest.newBuilder() to construct. private GetJobTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetJobTemplateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetJobTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetJobTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetJobTemplateRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,43 +73,36 @@ private GetJobTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_GetJobTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_GetJobTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_GetJobTemplateRequest_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_GetJobTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.GetJobTemplateRequest.class, - com.google.cloud.video.transcoder.v1.GetJobTemplateRequest.Builder.class); + com.google.cloud.video.transcoder.v1.GetJobTemplateRequest.class, com.google.cloud.video.transcoder.v1.GetJobTemplateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the job template to retrieve.
    * Format:
    * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,33 +111,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the job template to retrieve.
    * Format:
    * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -207,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.GetJobTemplateRequest)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.GetJobTemplateRequest other = - (com.google.cloud.video.transcoder.v1.GetJobTemplateRequest) obj; + com.google.cloud.video.transcoder.v1.GetJobTemplateRequest other = (com.google.cloud.video.transcoder.v1.GetJobTemplateRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -235,127 +208,117 @@ public int hashCode() { } public static com.google.cloud.video.transcoder.v1.GetJobTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.GetJobTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.GetJobTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.GetJobTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.GetJobTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.GetJobTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.GetJobTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.GetJobTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.GetJobTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.GetJobTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.GetJobTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.GetJobTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.GetJobTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.GetJobTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.GetJobTemplateRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.GetJobTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `TranscoderService.GetJobTemplate`.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.GetJobTemplateRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.GetJobTemplateRequest) com.google.cloud.video.transcoder.v1.GetJobTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_GetJobTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_GetJobTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_GetJobTemplateRequest_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_GetJobTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.GetJobTemplateRequest.class, - com.google.cloud.video.transcoder.v1.GetJobTemplateRequest.Builder.class); + com.google.cloud.video.transcoder.v1.GetJobTemplateRequest.class, com.google.cloud.video.transcoder.v1.GetJobTemplateRequest.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.GetJobTemplateRequest.newBuilder() @@ -363,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +345,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_GetJobTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_GetJobTemplateRequest_descriptor; } @java.lang.Override @@ -402,8 +366,7 @@ public com.google.cloud.video.transcoder.v1.GetJobTemplateRequest build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.GetJobTemplateRequest buildPartial() { - com.google.cloud.video.transcoder.v1.GetJobTemplateRequest result = - new com.google.cloud.video.transcoder.v1.GetJobTemplateRequest(this); + com.google.cloud.video.transcoder.v1.GetJobTemplateRequest result = new com.google.cloud.video.transcoder.v1.GetJobTemplateRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,39 +376,38 @@ public com.google.cloud.video.transcoder.v1.GetJobTemplateRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.GetJobTemplateRequest) { - return mergeFrom((com.google.cloud.video.transcoder.v1.GetJobTemplateRequest) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.GetJobTemplateRequest)other); } else { super.mergeFrom(other); return this; @@ -453,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.transcoder.v1.GetJobTemplateRequest other) { - if (other == com.google.cloud.video.transcoder.v1.GetJobTemplateRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.transcoder.v1.GetJobTemplateRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -478,8 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.GetJobTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.transcoder.v1.GetJobTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,24 +451,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the job template to retrieve.
      * Format:
      * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -517,25 +473,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the job template to retrieve.
      * Format:
      * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -543,80 +496,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the job template to retrieve.
      * Format:
      * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the job template to retrieve.
      * Format:
      * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the job template to retrieve.
      * Format:
      * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -626,12 +566,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.GetJobTemplateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.GetJobTemplateRequest) private static final com.google.cloud.video.transcoder.v1.GetJobTemplateRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.GetJobTemplateRequest(); } @@ -640,16 +580,16 @@ public static com.google.cloud.video.transcoder.v1.GetJobTemplateRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetJobTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetJobTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -664,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.GetJobTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobTemplateRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobTemplateRequestOrBuilder.java new file mode 100644 index 00000000..ae5aafd6 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobTemplateRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/video/transcoder/v1/services.proto + +package com.google.cloud.video.transcoder.v1; + +public interface GetJobTemplateRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.GetJobTemplateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the job template to retrieve.
+   * Format:
+   * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the job template to retrieve.
+   * Format:
+   * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Input.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Input.java similarity index 72% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Input.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Input.java index 69f1e6cf..0ec4fbd3 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Input.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Input.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Input asset.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Input} */ -public final class Input extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Input extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.Input) InputOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Input.newBuilder() to construct. private Input(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Input() { key_ = ""; uri_ = ""; @@ -44,15 +26,16 @@ private Input() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Input(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Input( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,44 +54,38 @@ private Input( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - key_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + key_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; + uri_ = s; + break; + } + case 26: { + com.google.cloud.video.transcoder.v1.PreprocessingConfig.Builder subBuilder = null; + if (preprocessingConfig_ != null) { + subBuilder = preprocessingConfig_.toBuilder(); } - case 26: - { - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Builder subBuilder = null; - if (preprocessingConfig_ != null) { - subBuilder = preprocessingConfig_.toBuilder(); - } - preprocessingConfig_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.PreprocessingConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(preprocessingConfig_); - preprocessingConfig_ = subBuilder.buildPartial(); - } - - break; + preprocessingConfig_ = input.readMessage(com.google.cloud.video.transcoder.v1.PreprocessingConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(preprocessingConfig_); + preprocessingConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,40 +93,35 @@ private Input( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Input_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Input_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Input_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Input_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Input.class, - com.google.cloud.video.transcoder.v1.Input.Builder.class); + com.google.cloud.video.transcoder.v1.Input.class, com.google.cloud.video.transcoder.v1.Input.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** - * - * *
    * A unique key for this input. Must be specified when using advanced
    * mapping and edit lists.
    * 
* * string key = 1; - * * @return The key. */ @java.lang.Override @@ -158,30 +130,30 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** - * - * *
    * A unique key for this input. Must be specified when using advanced
    * mapping and edit lists.
    * 
* * string key = 1; - * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -192,8 +164,6 @@ public com.google.protobuf.ByteString getKeyBytes() { public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** - * - * *
    * URI of the media. Input files must be at least 5 seconds in duration and
    * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
@@ -203,7 +173,6 @@ public com.google.protobuf.ByteString getKeyBytes() {
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -212,15 +181,14 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI of the media. Input files must be at least 5 seconds in duration and
    * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
@@ -230,15 +198,16 @@ public java.lang.String getUri() {
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -249,14 +218,11 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int PREPROCESSING_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessingConfig_; /** - * - * *
    * Preprocessing configurations.
    * 
* * .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3; - * * @return Whether the preprocessingConfig field is set. */ @java.lang.Override @@ -264,25 +230,18 @@ public boolean hasPreprocessingConfig() { return preprocessingConfig_ != null; } /** - * - * *
    * Preprocessing configurations.
    * 
* * .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3; - * * @return The preprocessingConfig. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.PreprocessingConfig getPreprocessingConfig() { - return preprocessingConfig_ == null - ? com.google.cloud.video.transcoder.v1.PreprocessingConfig.getDefaultInstance() - : preprocessingConfig_; + return preprocessingConfig_ == null ? com.google.cloud.video.transcoder.v1.PreprocessingConfig.getDefaultInstance() : preprocessingConfig_; } /** - * - * *
    * Preprocessing configurations.
    * 
@@ -290,13 +249,11 @@ public com.google.cloud.video.transcoder.v1.PreprocessingConfig getPreprocessing * .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3; */ @java.lang.Override - public com.google.cloud.video.transcoder.v1.PreprocessingConfigOrBuilder - getPreprocessingConfigOrBuilder() { + public com.google.cloud.video.transcoder.v1.PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder() { return getPreprocessingConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -308,7 +265,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -334,7 +292,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); } if (preprocessingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPreprocessingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPreprocessingConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -344,19 +303,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.Input)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.Input other = - (com.google.cloud.video.transcoder.v1.Input) obj; + com.google.cloud.video.transcoder.v1.Input other = (com.google.cloud.video.transcoder.v1.Input) obj; - if (!getKey().equals(other.getKey())) return false; - if (!getUri().equals(other.getUri())) return false; + if (!getKey() + .equals(other.getKey())) return false; + if (!getUri() + .equals(other.getUri())) return false; if (hasPreprocessingConfig() != other.hasPreprocessingConfig()) return false; if (hasPreprocessingConfig()) { - if (!getPreprocessingConfig().equals(other.getPreprocessingConfig())) return false; + if (!getPreprocessingConfig() + .equals(other.getPreprocessingConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -382,127 +343,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.transcoder.v1.Input parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.video.transcoder.v1.Input parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Input parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Input parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Input parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Input parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Input parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Input parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Input parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.Input parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.Input parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Input parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Input parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Input parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.transcoder.v1.Input prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Input asset.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Input} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.Input) com.google.cloud.video.transcoder.v1.InputOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Input_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Input_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Input_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Input_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Input.class, - com.google.cloud.video.transcoder.v1.Input.Builder.class); + com.google.cloud.video.transcoder.v1.Input.class, com.google.cloud.video.transcoder.v1.Input.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.Input.newBuilder() @@ -510,15 +462,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -536,9 +489,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Input_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Input_descriptor; } @java.lang.Override @@ -557,8 +510,7 @@ public com.google.cloud.video.transcoder.v1.Input build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.Input buildPartial() { - com.google.cloud.video.transcoder.v1.Input result = - new com.google.cloud.video.transcoder.v1.Input(this); + com.google.cloud.video.transcoder.v1.Input result = new com.google.cloud.video.transcoder.v1.Input(this); result.key_ = key_; result.uri_ = uri_; if (preprocessingConfigBuilder_ == null) { @@ -574,39 +526,38 @@ public com.google.cloud.video.transcoder.v1.Input buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.Input) { - return mergeFrom((com.google.cloud.video.transcoder.v1.Input) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.Input)other); } else { super.mergeFrom(other); return this; @@ -657,21 +608,19 @@ public Builder mergeFrom( private java.lang.Object key_ = ""; /** - * - * *
      * A unique key for this input. Must be specified when using advanced
      * mapping and edit lists.
      * 
* * string key = 1; - * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -680,22 +629,21 @@ public java.lang.String getKey() { } } /** - * - * *
      * A unique key for this input. Must be specified when using advanced
      * mapping and edit lists.
      * 
* * string key = 1; - * * @return The bytes for key. */ - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -703,64 +651,57 @@ public com.google.protobuf.ByteString getKeyBytes() { } } /** - * - * *
      * A unique key for this input. Must be specified when using advanced
      * mapping and edit lists.
      * 
* * string key = 1; - * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey(java.lang.String value) { + public Builder setKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** - * - * *
      * A unique key for this input. Must be specified when using advanced
      * mapping and edit lists.
      * 
* * string key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** - * - * *
      * A unique key for this input. Must be specified when using advanced
      * mapping and edit lists.
      * 
* * string key = 1; - * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; @@ -768,8 +709,6 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * URI of the media. Input files must be at least 5 seconds in duration and
      * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
@@ -779,13 +718,13 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) {
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -794,8 +733,6 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI of the media. Input files must be at least 5 seconds in duration and
      * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
@@ -805,14 +742,15 @@ public java.lang.String getUri() {
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -820,8 +758,6 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI of the media. Input files must be at least 5 seconds in duration and
      * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
@@ -831,22 +767,20 @@ public com.google.protobuf.ByteString getUriBytes() {
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
      * URI of the media. Input files must be at least 5 seconds in duration and
      * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
@@ -856,18 +790,15 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
      * URI of the media. Input files must be at least 5 seconds in duration and
      * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
@@ -877,16 +808,16 @@ public Builder clearUri() {
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -894,55 +825,41 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private com.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.PreprocessingConfig, - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Builder, - com.google.cloud.video.transcoder.v1.PreprocessingConfigOrBuilder> - preprocessingConfigBuilder_; + com.google.cloud.video.transcoder.v1.PreprocessingConfig, com.google.cloud.video.transcoder.v1.PreprocessingConfig.Builder, com.google.cloud.video.transcoder.v1.PreprocessingConfigOrBuilder> preprocessingConfigBuilder_; /** - * - * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3; - * * @return Whether the preprocessingConfig field is set. */ public boolean hasPreprocessingConfig() { return preprocessingConfigBuilder_ != null || preprocessingConfig_ != null; } /** - * - * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3; - * * @return The preprocessingConfig. */ public com.google.cloud.video.transcoder.v1.PreprocessingConfig getPreprocessingConfig() { if (preprocessingConfigBuilder_ == null) { - return preprocessingConfig_ == null - ? com.google.cloud.video.transcoder.v1.PreprocessingConfig.getDefaultInstance() - : preprocessingConfig_; + return preprocessingConfig_ == null ? com.google.cloud.video.transcoder.v1.PreprocessingConfig.getDefaultInstance() : preprocessingConfig_; } else { return preprocessingConfigBuilder_.getMessage(); } } /** - * - * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3; */ - public Builder setPreprocessingConfig( - com.google.cloud.video.transcoder.v1.PreprocessingConfig value) { + public Builder setPreprocessingConfig(com.google.cloud.video.transcoder.v1.PreprocessingConfig value) { if (preprocessingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -956,8 +873,6 @@ public Builder setPreprocessingConfig( return this; } /** - * - * *
      * Preprocessing configurations.
      * 
@@ -976,23 +891,17 @@ public Builder setPreprocessingConfig( return this; } /** - * - * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3; */ - public Builder mergePreprocessingConfig( - com.google.cloud.video.transcoder.v1.PreprocessingConfig value) { + public Builder mergePreprocessingConfig(com.google.cloud.video.transcoder.v1.PreprocessingConfig value) { if (preprocessingConfigBuilder_ == null) { if (preprocessingConfig_ != null) { preprocessingConfig_ = - com.google.cloud.video.transcoder.v1.PreprocessingConfig.newBuilder( - preprocessingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.transcoder.v1.PreprocessingConfig.newBuilder(preprocessingConfig_).mergeFrom(value).buildPartial(); } else { preprocessingConfig_ = value; } @@ -1004,8 +913,6 @@ public Builder mergePreprocessingConfig( return this; } /** - * - * *
      * Preprocessing configurations.
      * 
@@ -1024,42 +931,33 @@ public Builder clearPreprocessingConfig() { return this; } /** - * - * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3; */ - public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Builder - getPreprocessingConfigBuilder() { - + public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Builder getPreprocessingConfigBuilder() { + onChanged(); return getPreprocessingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Preprocessing configurations.
      * 
* * .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3; */ - public com.google.cloud.video.transcoder.v1.PreprocessingConfigOrBuilder - getPreprocessingConfigOrBuilder() { + public com.google.cloud.video.transcoder.v1.PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder() { if (preprocessingConfigBuilder_ != null) { return preprocessingConfigBuilder_.getMessageOrBuilder(); } else { - return preprocessingConfig_ == null - ? com.google.cloud.video.transcoder.v1.PreprocessingConfig.getDefaultInstance() - : preprocessingConfig_; + return preprocessingConfig_ == null ? + com.google.cloud.video.transcoder.v1.PreprocessingConfig.getDefaultInstance() : preprocessingConfig_; } } /** - * - * *
      * Preprocessing configurations.
      * 
@@ -1067,24 +965,21 @@ public Builder clearPreprocessingConfig() { * .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.PreprocessingConfig, - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Builder, - com.google.cloud.video.transcoder.v1.PreprocessingConfigOrBuilder> + com.google.cloud.video.transcoder.v1.PreprocessingConfig, com.google.cloud.video.transcoder.v1.PreprocessingConfig.Builder, com.google.cloud.video.transcoder.v1.PreprocessingConfigOrBuilder> getPreprocessingConfigFieldBuilder() { if (preprocessingConfigBuilder_ == null) { - preprocessingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.PreprocessingConfig, - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Builder, - com.google.cloud.video.transcoder.v1.PreprocessingConfigOrBuilder>( - getPreprocessingConfig(), getParentForChildren(), isClean()); + preprocessingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.transcoder.v1.PreprocessingConfig, com.google.cloud.video.transcoder.v1.PreprocessingConfig.Builder, com.google.cloud.video.transcoder.v1.PreprocessingConfigOrBuilder>( + getPreprocessingConfig(), + getParentForChildren(), + isClean()); preprocessingConfig_ = null; } return preprocessingConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1094,12 +989,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.Input) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.Input) private static final com.google.cloud.video.transcoder.v1.Input DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.Input(); } @@ -1108,16 +1003,16 @@ public static com.google.cloud.video.transcoder.v1.Input getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Input parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Input(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Input parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Input(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1132,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.Input getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/InputOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/InputOrBuilder.java similarity index 73% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/InputOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/InputOrBuilder.java index 0e45b40c..b4b12d38 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/InputOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/InputOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; -public interface InputOrBuilder - extends +public interface InputOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.Input) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A unique key for this input. Must be specified when using advanced
    * mapping and edit lists.
    * 
* * string key = 1; - * * @return The key. */ java.lang.String getKey(); /** - * - * *
    * A unique key for this input. Must be specified when using advanced
    * mapping and edit lists.
    * 
* * string key = 1; - * * @return The bytes for key. */ - com.google.protobuf.ByteString getKeyBytes(); + com.google.protobuf.ByteString + getKeyBytes(); /** - * - * *
    * URI of the media. Input files must be at least 5 seconds in duration and
    * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
@@ -62,13 +39,10 @@ public interface InputOrBuilder
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI of the media. Input files must be at least 5 seconds in duration and
    * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
@@ -78,44 +52,35 @@ public interface InputOrBuilder
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Preprocessing configurations.
    * 
* * .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3; - * * @return Whether the preprocessingConfig field is set. */ boolean hasPreprocessingConfig(); /** - * - * *
    * Preprocessing configurations.
    * 
* * .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3; - * * @return The preprocessingConfig. */ com.google.cloud.video.transcoder.v1.PreprocessingConfig getPreprocessingConfig(); /** - * - * *
    * Preprocessing configurations.
    * 
* * .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3; */ - com.google.cloud.video.transcoder.v1.PreprocessingConfigOrBuilder - getPreprocessingConfigOrBuilder(); + com.google.cloud.video.transcoder.v1.PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder(); } diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Job.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Job.java similarity index 71% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Job.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Job.java index f0c9c247..4bf53ba2 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Job.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Job.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Transcoding job resource.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Job} */ -public final class Job extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Job extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.Job) JobOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Job.newBuilder() to construct. private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Job() { name_ = ""; inputUri_ = ""; @@ -46,15 +28,16 @@ private Job() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Job(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Job( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,142 +57,127 @@ private Job( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + inputUri_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - outputUri_ = s; - break; + outputUri_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + jobConfigCase_ = 4; + jobConfig_ = s; + break; + } + case 42: { + com.google.cloud.video.transcoder.v1.JobConfig.Builder subBuilder = null; + if (jobConfigCase_ == 5) { + subBuilder = ((com.google.cloud.video.transcoder.v1.JobConfig) jobConfig_).toBuilder(); + } + jobConfig_ = + input.readMessage(com.google.cloud.video.transcoder.v1.JobConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.video.transcoder.v1.JobConfig) jobConfig_); + jobConfig_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - jobConfigCase_ = 4; - jobConfig_ = s; - break; + jobConfigCase_ = 5; + break; + } + case 64: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 98: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.cloud.video.transcoder.v1.JobConfig.Builder subBuilder = null; - if (jobConfigCase_ == 5) { - subBuilder = - ((com.google.cloud.video.transcoder.v1.JobConfig) jobConfig_).toBuilder(); - } - jobConfig_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.JobConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.video.transcoder.v1.JobConfig) jobConfig_); - jobConfig_ = subBuilder.buildPartial(); - } - jobConfigCase_ = 5; - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 64: - { - int rawValue = input.readEnum(); - state_ = rawValue; - break; + break; + } + case 106: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); } - case 98: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); } - case 106: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 114: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 114: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 120: - { - ttlAfterCompletionDays_ = input.readInt32(); - break; + + break; + } + case 120: { + + ttlAfterCompletionDays_ = input.readInt32(); + break; + } + case 130: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 130: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 138: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); } - case 138: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -217,52 +185,48 @@ private Job( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Job_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Job_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 16: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Job_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Job_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Job.class, - com.google.cloud.video.transcoder.v1.Job.Builder.class); + com.google.cloud.video.transcoder.v1.Job.class, com.google.cloud.video.transcoder.v1.Job.Builder.class); } /** - * - * *
    * The current state of the job.
    * 
* * Protobuf enum {@code google.cloud.video.transcoder.v1.Job.ProcessingState} */ - public enum ProcessingState implements com.google.protobuf.ProtocolMessageEnum { + public enum ProcessingState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The processing state is not specified.
      * 
@@ -271,8 +235,6 @@ public enum ProcessingState implements com.google.protobuf.ProtocolMessageEnum { */ PROCESSING_STATE_UNSPECIFIED(0), /** - * - * *
      * The job is enqueued and will be picked up for processing soon.
      * 
@@ -281,8 +243,6 @@ public enum ProcessingState implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
      * The job is being processed.
      * 
@@ -291,8 +251,6 @@ public enum ProcessingState implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
      * The job has been completed successfully.
      * 
@@ -301,8 +259,6 @@ public enum ProcessingState implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(3), /** - * - * *
      * The job has failed. For additional information, see `failure_reason` and
      * `failure_details`
@@ -315,8 +271,6 @@ public enum ProcessingState implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The processing state is not specified.
      * 
@@ -325,8 +279,6 @@ public enum ProcessingState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROCESSING_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The job is enqueued and will be picked up for processing soon.
      * 
@@ -335,8 +287,6 @@ public enum ProcessingState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
      * The job is being processed.
      * 
@@ -345,8 +295,6 @@ public enum ProcessingState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
      * The job has been completed successfully.
      * 
@@ -355,8 +303,6 @@ public enum ProcessingState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 3; /** - * - * *
      * The job has failed. For additional information, see `failure_reason` and
      * `failure_details`
@@ -366,6 +312,7 @@ public enum ProcessingState implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FAILED_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -390,46 +337,41 @@ public static ProcessingState valueOf(int value) {
      */
     public static ProcessingState forNumber(int value) {
       switch (value) {
-        case 0:
-          return PROCESSING_STATE_UNSPECIFIED;
-        case 1:
-          return PENDING;
-        case 2:
-          return RUNNING;
-        case 3:
-          return SUCCEEDED;
-        case 4:
-          return FAILED;
-        default:
-          return null;
+        case 0: return PROCESSING_STATE_UNSPECIFIED;
+        case 1: return PENDING;
+        case 2: return RUNNING;
+        case 3: return SUCCEEDED;
+        case 4: return FAILED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        ProcessingState> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ProcessingState findValueByNumber(int number) {
+              return ProcessingState.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ProcessingState findValueByNumber(int number) {
-                return ProcessingState.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.video.transcoder.v1.Job.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -438,7 +380,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static ProcessingState valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -457,16 +400,13 @@ private ProcessingState(int value) {
 
   private int jobConfigCase_ = 0;
   private java.lang.Object jobConfig_;
-
   public enum JobConfigCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     TEMPLATE_ID(4),
     CONFIG(5),
     JOBCONFIG_NOT_SET(0);
     private final int value;
-
     private JobConfigCase(int value) {
       this.value = value;
     }
@@ -482,38 +422,32 @@ public static JobConfigCase valueOf(int value) {
 
     public static JobConfigCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return TEMPLATE_ID;
-        case 5:
-          return CONFIG;
-        case 0:
-          return JOBCONFIG_NOT_SET;
-        default:
-          return null;
+        case 4: return TEMPLATE_ID;
+        case 5: return CONFIG;
+        case 0: return JOBCONFIG_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public JobConfigCase getJobConfigCase() {
-    return JobConfigCase.forNumber(jobConfigCase_);
+  public JobConfigCase
+  getJobConfigCase() {
+    return JobConfigCase.forNumber(
+        jobConfigCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The resource name of the job.
    * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -522,30 +456,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the job.
    * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -556,8 +490,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int INPUT_URI_FIELD_NUMBER = 2; private volatile java.lang.Object inputUri_; /** - * - * *
    * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
    * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
@@ -568,7 +500,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The inputUri. */ @java.lang.Override @@ -577,15 +508,14 @@ public java.lang.String getInputUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUri_ = s; return s; } } /** - * - * *
    * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
    * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
@@ -596,15 +526,16 @@ public java.lang.String getInputUri() {
    * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for inputUri. */ @java.lang.Override - public com.google.protobuf.ByteString getInputUriBytes() { + public com.google.protobuf.ByteString + getInputUriBytes() { java.lang.Object ref = inputUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputUri_ = b; return b; } else { @@ -615,8 +546,6 @@ public com.google.protobuf.ByteString getInputUriBytes() { public static final int OUTPUT_URI_FIELD_NUMBER = 3; private volatile java.lang.Object outputUri_; /** - * - * *
    * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
    * `JobTemplate.config.output.uri` when using template.
@@ -626,7 +555,6 @@ public com.google.protobuf.ByteString getInputUriBytes() {
    * 
* * string output_uri = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The outputUri. */ @java.lang.Override @@ -635,15 +563,14 @@ public java.lang.String getOutputUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUri_ = s; return s; } } /** - * - * *
    * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
    * `JobTemplate.config.output.uri` when using template.
@@ -653,15 +580,16 @@ public java.lang.String getOutputUri() {
    * 
* * string output_uri = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for outputUri. */ @java.lang.Override - public com.google.protobuf.ByteString getOutputUriBytes() { + public com.google.protobuf.ByteString + getOutputUriBytes() { java.lang.Object ref = outputUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUri_ = b; return b; } else { @@ -671,8 +599,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() { public static final int TEMPLATE_ID_FIELD_NUMBER = 4; /** - * - * *
    * Input only. Specify the `template_id` to use for populating `Job.config`. The default
    * is `preset/web-hd`.
@@ -683,15 +609,12 @@ public com.google.protobuf.ByteString getOutputUriBytes() {
    * 
* * string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the templateId field is set. */ public boolean hasTemplateId() { return jobConfigCase_ == 4; } /** - * - * *
    * Input only. Specify the `template_id` to use for populating `Job.config`. The default
    * is `preset/web-hd`.
@@ -702,7 +625,6 @@ public boolean hasTemplateId() {
    * 
* * string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The templateId. */ public java.lang.String getTemplateId() { @@ -713,7 +635,8 @@ public java.lang.String getTemplateId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (jobConfigCase_ == 4) { jobConfig_ = s; @@ -722,8 +645,6 @@ public java.lang.String getTemplateId() { } } /** - * - * *
    * Input only. Specify the `template_id` to use for populating `Job.config`. The default
    * is `preset/web-hd`.
@@ -734,17 +655,18 @@ public java.lang.String getTemplateId() {
    * 
* * string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for templateId. */ - public com.google.protobuf.ByteString getTemplateIdBytes() { + public com.google.protobuf.ByteString + getTemplateIdBytes() { java.lang.Object ref = ""; if (jobConfigCase_ == 4) { ref = jobConfig_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (jobConfigCase_ == 4) { jobConfig_ = b; } @@ -756,14 +678,11 @@ public com.google.protobuf.ByteString getTemplateIdBytes() { public static final int CONFIG_FIELD_NUMBER = 5; /** - * - * *
    * The configuration for this job.
    * 
* * .google.cloud.video.transcoder.v1.JobConfig config = 5; - * * @return Whether the config field is set. */ @java.lang.Override @@ -771,26 +690,21 @@ public boolean hasConfig() { return jobConfigCase_ == 5; } /** - * - * *
    * The configuration for this job.
    * 
* * .google.cloud.video.transcoder.v1.JobConfig config = 5; - * * @return The config. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.JobConfig getConfig() { if (jobConfigCase_ == 5) { - return (com.google.cloud.video.transcoder.v1.JobConfig) jobConfig_; + return (com.google.cloud.video.transcoder.v1.JobConfig) jobConfig_; } return com.google.cloud.video.transcoder.v1.JobConfig.getDefaultInstance(); } /** - * - * *
    * The configuration for this job.
    * 
@@ -800,7 +714,7 @@ public com.google.cloud.video.transcoder.v1.JobConfig getConfig() { @java.lang.Override public com.google.cloud.video.transcoder.v1.JobConfigOrBuilder getConfigOrBuilder() { if (jobConfigCase_ == 5) { - return (com.google.cloud.video.transcoder.v1.JobConfig) jobConfig_; + return (com.google.cloud.video.transcoder.v1.JobConfig) jobConfig_; } return com.google.cloud.video.transcoder.v1.JobConfig.getDefaultInstance(); } @@ -808,57 +722,38 @@ public com.google.cloud.video.transcoder.v1.JobConfigOrBuilder getConfigOrBuilde public static final int STATE_FIELD_NUMBER = 8; private int state_; /** - * - * *
    * Output only. The current state of the job.
    * 
* - * - * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the job.
    * 
* - * - * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Job.ProcessingState getState() { + @java.lang.Override public com.google.cloud.video.transcoder.v1.Job.ProcessingState getState() { @SuppressWarnings("deprecation") - com.google.cloud.video.transcoder.v1.Job.ProcessingState result = - com.google.cloud.video.transcoder.v1.Job.ProcessingState.valueOf(state_); - return result == null - ? com.google.cloud.video.transcoder.v1.Job.ProcessingState.UNRECOGNIZED - : result; + com.google.cloud.video.transcoder.v1.Job.ProcessingState result = com.google.cloud.video.transcoder.v1.Job.ProcessingState.valueOf(state_); + return result == null ? com.google.cloud.video.transcoder.v1.Job.ProcessingState.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the job was created.
    * 
* - * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -866,15 +761,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the job was created.
    * 
* - * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -882,14 +773,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the job was created.
    * 
* - * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -899,15 +787,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 13; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. The time the transcoding started.
    * 
* - * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -915,15 +799,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Output only. The time the transcoding started.
    * 
* - * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ @java.lang.Override @@ -931,14 +811,11 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. The time the transcoding started.
    * 
* - * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -948,15 +825,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 14; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the transcoding finished.
    * 
* - * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -964,15 +837,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the transcoding finished.
    * 
* - * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -980,14 +849,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the transcoding finished.
    * 
* - * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -997,8 +863,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TTL_AFTER_COMPLETION_DAYS_FIELD_NUMBER = 15; private int ttlAfterCompletionDays_; /** - * - * *
    * Job time to live value in days, which will be effective after job
    * completion. Job should be deleted automatically after the given TTL. Enter
@@ -1006,7 +870,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
    * 
* * int32 ttl_after_completion_days = 15; - * * @return The ttlAfterCompletionDays. */ @java.lang.Override @@ -1015,23 +878,24 @@ public int getTtlAfterCompletionDays() { } public static final int LABELS_FIELD_NUMBER = 16; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Job_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Job_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1040,8 +904,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * The labels associated with this job. You can use these to organize and
    * group your jobs.
@@ -1049,22 +911,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 16;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * The labels associated with this job. You can use these to organize and
    * group your jobs.
@@ -1073,12 +935,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 16;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * The labels associated with this job. You can use these to organize and
    * group your jobs.
@@ -1087,16 +948,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 16;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The labels associated with this job. You can use these to organize and
    * group your jobs.
@@ -1105,11 +966,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 16;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1119,15 +981,12 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int ERROR_FIELD_NUMBER = 17;
   private com.google.rpc.Status error_;
   /**
-   *
-   *
    * 
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
    * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ @java.lang.Override @@ -1135,15 +994,12 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
    * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ @java.lang.Override @@ -1151,8 +1007,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
@@ -1166,7 +1020,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1178,7 +1031,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  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_);
     }
@@ -1194,9 +1048,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (jobConfigCase_ == 5) {
       output.writeMessage(5, (com.google.cloud.video.transcoder.v1.JobConfig) jobConfig_);
     }
-    if (state_
-        != com.google.cloud.video.transcoder.v1.Job.ProcessingState.PROCESSING_STATE_UNSPECIFIED
-            .getNumber()) {
+    if (state_ != com.google.cloud.video.transcoder.v1.Job.ProcessingState.PROCESSING_STATE_UNSPECIFIED.getNumber()) {
       output.writeEnum(8, state_);
     }
     if (createTime_ != null) {
@@ -1211,8 +1063,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (ttlAfterCompletionDays_ != 0) {
       output.writeInt32(15, ttlAfterCompletionDays_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 16);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetLabels(),
+        LabelsDefaultEntryHolder.defaultEntry,
+        16);
     if (error_ != null) {
       output.writeMessage(17, getError());
     }
@@ -1238,39 +1094,42 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, jobConfig_);
     }
     if (jobConfigCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.cloud.video.transcoder.v1.JobConfig) jobConfig_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.cloud.video.transcoder.v1.JobConfig) jobConfig_);
     }
-    if (state_
-        != com.google.cloud.video.transcoder.v1.Job.ProcessingState.PROCESSING_STATE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_);
+    if (state_ != com.google.cloud.video.transcoder.v1.Job.ProcessingState.PROCESSING_STATE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(8, state_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(12, getCreateTime());
     }
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(13, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(14, getEndTime());
     }
     if (ttlAfterCompletionDays_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(15, ttlAfterCompletionDays_);
-    }
-    for (java.util.Map.Entry entry :
-        internalGetLabels().getMap().entrySet()) {
-      com.google.protobuf.MapEntry labels__ =
-          LabelsDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, labels__);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(15, ttlAfterCompletionDays_);
+    }
+    for (java.util.Map.Entry entry
+         : internalGetLabels().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(16, labels__);
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getError());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(17, getError());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1280,42 +1139,53 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.video.transcoder.v1.Job)) {
       return super.equals(obj);
     }
     com.google.cloud.video.transcoder.v1.Job other = (com.google.cloud.video.transcoder.v1.Job) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getInputUri().equals(other.getInputUri())) return false;
-    if (!getOutputUri().equals(other.getOutputUri())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getInputUri()
+        .equals(other.getInputUri())) return false;
+    if (!getOutputUri()
+        .equals(other.getOutputUri())) return false;
     if (state_ != other.state_) return false;
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime().equals(other.getCreateTime())) return false;
+      if (!getCreateTime()
+          .equals(other.getCreateTime())) return false;
     }
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime().equals(other.getStartTime())) return false;
+      if (!getStartTime()
+          .equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
-    if (getTtlAfterCompletionDays() != other.getTtlAfterCompletionDays()) return false;
-    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+    if (getTtlAfterCompletionDays()
+        != other.getTtlAfterCompletionDays()) return false;
+    if (!internalGetLabels().equals(
+        other.internalGetLabels())) return false;
     if (hasError() != other.hasError()) return false;
     if (hasError()) {
-      if (!getError().equals(other.getError())) return false;
+      if (!getError()
+          .equals(other.getError())) return false;
     }
     if (!getJobConfigCase().equals(other.getJobConfigCase())) return false;
     switch (jobConfigCase_) {
       case 4:
-        if (!getTemplateId().equals(other.getTemplateId())) return false;
+        if (!getTemplateId()
+            .equals(other.getTemplateId())) return false;
         break;
       case 5:
-        if (!getConfig().equals(other.getConfig())) return false;
+        if (!getConfig()
+            .equals(other.getConfig())) return false;
         break;
       case 0:
       default:
@@ -1378,147 +1248,140 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.video.transcoder.v1.Job parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.video.transcoder.v1.Job parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.transcoder.v1.Job parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.Job parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.transcoder.v1.Job parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.Job parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.transcoder.v1.Job parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.Job parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.transcoder.v1.Job parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.video.transcoder.v1.Job parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.video.transcoder.v1.Job parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.transcoder.v1.Job parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.Job parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.transcoder.v1.Job parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.video.transcoder.v1.Job prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Transcoding job resource.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Job} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.Job) com.google.cloud.video.transcoder.v1.JobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Job_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Job_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 16: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 16: return internalGetMutableLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Job_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Job_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Job.class, - com.google.cloud.video.transcoder.v1.Job.Builder.class); + com.google.cloud.video.transcoder.v1.Job.class, com.google.cloud.video.transcoder.v1.Job.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.Job.newBuilder() @@ -1526,15 +1389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1579,9 +1443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Job_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Job_descriptor; } @java.lang.Override @@ -1600,8 +1464,7 @@ public com.google.cloud.video.transcoder.v1.Job build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.Job buildPartial() { - com.google.cloud.video.transcoder.v1.Job result = - new com.google.cloud.video.transcoder.v1.Job(this); + com.google.cloud.video.transcoder.v1.Job result = new com.google.cloud.video.transcoder.v1.Job(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.inputUri_ = inputUri_; @@ -1649,39 +1512,38 @@ public com.google.cloud.video.transcoder.v1.Job buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.Job) { - return mergeFrom((com.google.cloud.video.transcoder.v1.Job) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.Job)other); } else { super.mergeFrom(other); return this; @@ -1717,27 +1579,25 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.Job other) { if (other.getTtlAfterCompletionDays() != 0) { setTtlAfterCompletionDays(other.getTtlAfterCompletionDays()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (other.hasError()) { mergeError(other.getError()); } switch (other.getJobConfigCase()) { - case TEMPLATE_ID: - { - jobConfigCase_ = 4; - jobConfig_ = other.jobConfig_; - onChanged(); - break; - } - case CONFIG: - { - mergeConfig(other.getConfig()); - break; - } - case JOBCONFIG_NOT_SET: - { - break; - } + case TEMPLATE_ID: { + jobConfigCase_ = 4; + jobConfig_ = other.jobConfig_; + onChanged(); + break; + } + case CONFIG: { + mergeConfig(other.getConfig()); + break; + } + case JOBCONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1767,12 +1627,12 @@ public Builder mergeFrom( } return this; } - private int jobConfigCase_ = 0; private java.lang.Object jobConfig_; - - public JobConfigCase getJobConfigCase() { - return JobConfigCase.forNumber(jobConfigCase_); + public JobConfigCase + getJobConfigCase() { + return JobConfigCase.forNumber( + jobConfigCase_); } public Builder clearJobConfig() { @@ -1786,21 +1646,19 @@ public Builder clearJobConfig() { private java.lang.Object name_ = ""; /** - * - * *
      * The resource name of the job.
      * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1809,22 +1667,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the job.
      * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1832,64 +1689,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the job.
      * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The resource name of the job.
      * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The resource name of the job.
      * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1897,8 +1747,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object inputUri_ = ""; /** - * - * *
      * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
      * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
@@ -1909,13 +1757,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The inputUri. */ public java.lang.String getInputUri() { java.lang.Object ref = inputUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUri_ = s; return s; @@ -1924,8 +1772,6 @@ public java.lang.String getInputUri() { } } /** - * - * *
      * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
      * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
@@ -1936,14 +1782,15 @@ public java.lang.String getInputUri() {
      * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for inputUri. */ - public com.google.protobuf.ByteString getInputUriBytes() { + public com.google.protobuf.ByteString + getInputUriBytes() { java.lang.Object ref = inputUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputUri_ = b; return b; } else { @@ -1951,8 +1798,6 @@ public com.google.protobuf.ByteString getInputUriBytes() { } } /** - * - * *
      * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
      * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
@@ -1963,22 +1808,20 @@ public com.google.protobuf.ByteString getInputUriBytes() {
      * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The inputUri to set. * @return This builder for chaining. */ - public Builder setInputUri(java.lang.String value) { + public Builder setInputUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputUri_ = value; onChanged(); return this; } /** - * - * *
      * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
      * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
@@ -1989,18 +1832,15 @@ public Builder setInputUri(java.lang.String value) {
      * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** - * - * *
      * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
      * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
@@ -2011,16 +1851,16 @@ public Builder clearInputUri() {
      * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for inputUri to set. * @return This builder for chaining. */ - public Builder setInputUriBytes(com.google.protobuf.ByteString value) { + public Builder setInputUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputUri_ = value; onChanged(); return this; @@ -2028,8 +1868,6 @@ public Builder setInputUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object outputUri_ = ""; /** - * - * *
      * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
      * `JobTemplate.config.output.uri` when using template.
@@ -2039,13 +1877,13 @@ public Builder setInputUriBytes(com.google.protobuf.ByteString value) {
      * 
* * string output_uri = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The outputUri. */ public java.lang.String getOutputUri() { java.lang.Object ref = outputUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUri_ = s; return s; @@ -2054,8 +1892,6 @@ public java.lang.String getOutputUri() { } } /** - * - * *
      * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
      * `JobTemplate.config.output.uri` when using template.
@@ -2065,14 +1901,15 @@ public java.lang.String getOutputUri() {
      * 
* * string output_uri = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for outputUri. */ - public com.google.protobuf.ByteString getOutputUriBytes() { + public com.google.protobuf.ByteString + getOutputUriBytes() { java.lang.Object ref = outputUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUri_ = b; return b; } else { @@ -2080,8 +1917,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() { } } /** - * - * *
      * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
      * `JobTemplate.config.output.uri` when using template.
@@ -2091,22 +1926,20 @@ public com.google.protobuf.ByteString getOutputUriBytes() {
      * 
* * string output_uri = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The outputUri to set. * @return This builder for chaining. */ - public Builder setOutputUri(java.lang.String value) { + public Builder setOutputUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputUri_ = value; onChanged(); return this; } /** - * - * *
      * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
      * `JobTemplate.config.output.uri` when using template.
@@ -2116,18 +1949,15 @@ public Builder setOutputUri(java.lang.String value) {
      * 
* * string output_uri = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearOutputUri() { - + outputUri_ = getDefaultInstance().getOutputUri(); onChanged(); return this; } /** - * - * *
      * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
      * `JobTemplate.config.output.uri` when using template.
@@ -2137,24 +1967,22 @@ public Builder clearOutputUri() {
      * 
* * string output_uri = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for outputUri to set. * @return This builder for chaining. */ - public Builder setOutputUriBytes(com.google.protobuf.ByteString value) { + public Builder setOutputUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputUri_ = value; onChanged(); return this; } /** - * - * *
      * Input only. Specify the `template_id` to use for populating `Job.config`. The default
      * is `preset/web-hd`.
@@ -2165,7 +1993,6 @@ public Builder setOutputUriBytes(com.google.protobuf.ByteString value) {
      * 
* * string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the templateId field is set. */ @java.lang.Override @@ -2173,8 +2000,6 @@ public boolean hasTemplateId() { return jobConfigCase_ == 4; } /** - * - * *
      * Input only. Specify the `template_id` to use for populating `Job.config`. The default
      * is `preset/web-hd`.
@@ -2185,7 +2010,6 @@ public boolean hasTemplateId() {
      * 
* * string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The templateId. */ @java.lang.Override @@ -2195,7 +2019,8 @@ public java.lang.String getTemplateId() { ref = jobConfig_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (jobConfigCase_ == 4) { jobConfig_ = s; @@ -2206,8 +2031,6 @@ public java.lang.String getTemplateId() { } } /** - * - * *
      * Input only. Specify the `template_id` to use for populating `Job.config`. The default
      * is `preset/web-hd`.
@@ -2218,18 +2041,19 @@ public java.lang.String getTemplateId() {
      * 
* * string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for templateId. */ @java.lang.Override - public com.google.protobuf.ByteString getTemplateIdBytes() { + public com.google.protobuf.ByteString + getTemplateIdBytes() { java.lang.Object ref = ""; if (jobConfigCase_ == 4) { ref = jobConfig_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (jobConfigCase_ == 4) { jobConfig_ = b; } @@ -2239,8 +2063,6 @@ public com.google.protobuf.ByteString getTemplateIdBytes() { } } /** - * - * *
      * Input only. Specify the `template_id` to use for populating `Job.config`. The default
      * is `preset/web-hd`.
@@ -2251,22 +2073,20 @@ public com.google.protobuf.ByteString getTemplateIdBytes() {
      * 
* * string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The templateId to set. * @return This builder for chaining. */ - public Builder setTemplateId(java.lang.String value) { + public Builder setTemplateId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - jobConfigCase_ = 4; + throw new NullPointerException(); + } + jobConfigCase_ = 4; jobConfig_ = value; onChanged(); return this; } /** - * - * *
      * Input only. Specify the `template_id` to use for populating `Job.config`. The default
      * is `preset/web-hd`.
@@ -2277,7 +2097,6 @@ public Builder setTemplateId(java.lang.String value) {
      * 
* * string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTemplateId() { @@ -2289,8 +2108,6 @@ public Builder clearTemplateId() { return this; } /** - * - * *
      * Input only. Specify the `template_id` to use for populating `Job.config`. The default
      * is `preset/web-hd`.
@@ -2301,15 +2118,15 @@ public Builder clearTemplateId() {
      * 
* * string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for templateId to set. * @return This builder for chaining. */ - public Builder setTemplateIdBytes(com.google.protobuf.ByteString value) { + public Builder setTemplateIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); jobConfigCase_ = 4; jobConfig_ = value; onChanged(); @@ -2317,19 +2134,13 @@ public Builder setTemplateIdBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.JobConfig, - com.google.cloud.video.transcoder.v1.JobConfig.Builder, - com.google.cloud.video.transcoder.v1.JobConfigOrBuilder> - configBuilder_; + com.google.cloud.video.transcoder.v1.JobConfig, com.google.cloud.video.transcoder.v1.JobConfig.Builder, com.google.cloud.video.transcoder.v1.JobConfigOrBuilder> configBuilder_; /** - * - * *
      * The configuration for this job.
      * 
* * .google.cloud.video.transcoder.v1.JobConfig config = 5; - * * @return Whether the config field is set. */ @java.lang.Override @@ -2337,14 +2148,11 @@ public boolean hasConfig() { return jobConfigCase_ == 5; } /** - * - * *
      * The configuration for this job.
      * 
* * .google.cloud.video.transcoder.v1.JobConfig config = 5; - * * @return The config. */ @java.lang.Override @@ -2362,8 +2170,6 @@ public com.google.cloud.video.transcoder.v1.JobConfig getConfig() { } } /** - * - * *
      * The configuration for this job.
      * 
@@ -2384,8 +2190,6 @@ public Builder setConfig(com.google.cloud.video.transcoder.v1.JobConfig value) { return this; } /** - * - * *
      * The configuration for this job.
      * 
@@ -2404,8 +2208,6 @@ public Builder setConfig( return this; } /** - * - * *
      * The configuration for this job.
      * 
@@ -2414,13 +2216,10 @@ public Builder setConfig( */ public Builder mergeConfig(com.google.cloud.video.transcoder.v1.JobConfig value) { if (configBuilder_ == null) { - if (jobConfigCase_ == 5 - && jobConfig_ != com.google.cloud.video.transcoder.v1.JobConfig.getDefaultInstance()) { - jobConfig_ = - com.google.cloud.video.transcoder.v1.JobConfig.newBuilder( - (com.google.cloud.video.transcoder.v1.JobConfig) jobConfig_) - .mergeFrom(value) - .buildPartial(); + if (jobConfigCase_ == 5 && + jobConfig_ != com.google.cloud.video.transcoder.v1.JobConfig.getDefaultInstance()) { + jobConfig_ = com.google.cloud.video.transcoder.v1.JobConfig.newBuilder((com.google.cloud.video.transcoder.v1.JobConfig) jobConfig_) + .mergeFrom(value).buildPartial(); } else { jobConfig_ = value; } @@ -2436,8 +2235,6 @@ public Builder mergeConfig(com.google.cloud.video.transcoder.v1.JobConfig value) return this; } /** - * - * *
      * The configuration for this job.
      * 
@@ -2461,8 +2258,6 @@ public Builder clearConfig() { return this; } /** - * - * *
      * The configuration for this job.
      * 
@@ -2473,8 +2268,6 @@ public com.google.cloud.video.transcoder.v1.JobConfig.Builder getConfigBuilder() return getConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The configuration for this job.
      * 
@@ -2493,8 +2286,6 @@ public com.google.cloud.video.transcoder.v1.JobConfigOrBuilder getConfigOrBuilde } } /** - * - * *
      * The configuration for this job.
      * 
@@ -2502,101 +2293,71 @@ public com.google.cloud.video.transcoder.v1.JobConfigOrBuilder getConfigOrBuilde * .google.cloud.video.transcoder.v1.JobConfig config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.JobConfig, - com.google.cloud.video.transcoder.v1.JobConfig.Builder, - com.google.cloud.video.transcoder.v1.JobConfigOrBuilder> + com.google.cloud.video.transcoder.v1.JobConfig, com.google.cloud.video.transcoder.v1.JobConfig.Builder, com.google.cloud.video.transcoder.v1.JobConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { if (!(jobConfigCase_ == 5)) { jobConfig_ = com.google.cloud.video.transcoder.v1.JobConfig.getDefaultInstance(); } - configBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.JobConfig, - com.google.cloud.video.transcoder.v1.JobConfig.Builder, - com.google.cloud.video.transcoder.v1.JobConfigOrBuilder>( + configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.transcoder.v1.JobConfig, com.google.cloud.video.transcoder.v1.JobConfig.Builder, com.google.cloud.video.transcoder.v1.JobConfigOrBuilder>( (com.google.cloud.video.transcoder.v1.JobConfig) jobConfig_, getParentForChildren(), isClean()); jobConfig_ = null; } jobConfigCase_ = 5; - onChanged(); - ; + onChanged();; return configBuilder_; } private int state_ = 0; /** - * - * *
      * Output only. The current state of the job.
      * 
* - * - * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the job.
      * 
* - * - * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The current state of the job.
      * 
* - * - * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.Job.ProcessingState getState() { @SuppressWarnings("deprecation") - com.google.cloud.video.transcoder.v1.Job.ProcessingState result = - com.google.cloud.video.transcoder.v1.Job.ProcessingState.valueOf(state_); - return result == null - ? com.google.cloud.video.transcoder.v1.Job.ProcessingState.UNRECOGNIZED - : result; + com.google.cloud.video.transcoder.v1.Job.ProcessingState result = com.google.cloud.video.transcoder.v1.Job.ProcessingState.valueOf(state_); + return result == null ? com.google.cloud.video.transcoder.v1.Job.ProcessingState.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the job.
      * 
* - * - * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2604,26 +2365,21 @@ public Builder setState(com.google.cloud.video.transcoder.v1.Job.ProcessingState if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The current state of the job.
      * 
* - * - * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2631,58 +2387,39 @@ public Builder clearState() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time the job was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time the job was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the job was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2698,17 +2435,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the job was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2719,21 +2453,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the job was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2745,15 +2475,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the job was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2767,64 +2493,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the job was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the job was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time the job was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2832,37 +2542,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Output only. The time the transcoding started.
      * 
* - * - * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Output only. The time the transcoding started.
      * 
* - * - * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2873,15 +2570,11 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. The time the transcoding started.
      * 
* - * - * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -2897,17 +2590,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the transcoding started.
      * 
* - * - * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -2918,21 +2608,17 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. The time the transcoding started.
      * 
* - * - * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -2944,15 +2630,11 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the transcoding started.
      * 
* - * - * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { @@ -2966,62 +2648,48 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. The time the transcoding started.
      * 
* - * - * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the transcoding started.
      * 
* - * - * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Output only. The time the transcoding started.
      * 
* - * - * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -3029,35 +2697,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. The time the transcoding finished.
      * 
* - * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Output only. The time the transcoding finished.
      * 
* - * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -3068,14 +2725,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the transcoding finished.
      * 
* - * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -3091,16 +2745,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the transcoding finished.
      * 
* - * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -3111,20 +2763,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the transcoding finished.
      * 
* - * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -3136,14 +2785,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the transcoding finished.
      * 
* - * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -3157,68 +2803,55 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the transcoding finished.
      * 
* - * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the transcoding finished.
      * 
* - * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The time the transcoding finished.
      * 
* - * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - private int ttlAfterCompletionDays_; + private int ttlAfterCompletionDays_ ; /** - * - * *
      * Job time to live value in days, which will be effective after job
      * completion. Job should be deleted automatically after the given TTL. Enter
@@ -3226,7 +2859,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * 
* * int32 ttl_after_completion_days = 15; - * * @return The ttlAfterCompletionDays. */ @java.lang.Override @@ -3234,8 +2866,6 @@ public int getTtlAfterCompletionDays() { return ttlAfterCompletionDays_; } /** - * - * *
      * Job time to live value in days, which will be effective after job
      * completion. Job should be deleted automatically after the given TTL. Enter
@@ -3243,19 +2873,16 @@ public int getTtlAfterCompletionDays() {
      * 
* * int32 ttl_after_completion_days = 15; - * * @param value The ttlAfterCompletionDays to set. * @return This builder for chaining. */ public Builder setTtlAfterCompletionDays(int value) { - + ttlAfterCompletionDays_ = value; onChanged(); return this; } /** - * - * *
      * Job time to live value in days, which will be effective after job
      * completion. Job should be deleted automatically after the given TTL. Enter
@@ -3263,31 +2890,31 @@ public Builder setTtlAfterCompletionDays(int value) {
      * 
* * int32 ttl_after_completion_days = 15; - * * @return This builder for chaining. */ public Builder clearTtlAfterCompletionDays() { - + ttlAfterCompletionDays_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3299,8 +2926,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * The labels associated with this job. You can use these to organize and
      * group your jobs.
@@ -3308,22 +2933,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 16;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * The labels associated with this job. You can use these to organize and
      * group your jobs.
@@ -3332,12 +2957,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 16;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * The labels associated with this job. You can use these to organize and
      * group your jobs.
@@ -3346,17 +2970,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 16;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The labels associated with this job. You can use these to organize and
      * group your jobs.
@@ -3365,11 +2988,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 16;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3377,12 +3001,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The labels associated with this job. You can use these to organize and
      * group your jobs.
@@ -3390,21 +3013,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 16;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The labels associated with this job. You can use these to organize and
      * group your jobs.
@@ -3412,20 +3037,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 16;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The labels associated with this job. You can use these to organize and
      * group your jobs.
@@ -3433,40 +3057,36 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 16;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.rpc.Status error_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        errorBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_;
     /**
-     *
-     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
      * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
      * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -3477,8 +3097,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3500,8 +3118,6 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3509,7 +3125,8 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
-    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(
+        com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         error_ = builderForValue.build();
         onChanged();
@@ -3520,8 +3137,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3532,7 +3147,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
     public Builder mergeError(com.google.rpc.Status value) {
       if (errorBuilder_ == null) {
         if (error_ != null) {
-          error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
+          error_ =
+            com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
         } else {
           error_ = value;
         }
@@ -3544,8 +3160,6 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3565,8 +3179,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3575,13 +3187,11 @@ public Builder clearError() {
      * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-
+      
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3593,12 +3203,11 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       if (errorBuilder_ != null) {
         return errorBuilder_.getMessageOrBuilder();
       } else {
-        return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
+        return error_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : error_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. An error object that describes the reason for the failure.
      * This property is always present when `state` is `FAILED`.
@@ -3607,21 +3216,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
-        errorBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
+        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getError(),
+                getParentForChildren(),
+                isClean());
         error_ = null;
       }
       return errorBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3631,12 +3240,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.Job)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.Job)
   private static final com.google.cloud.video.transcoder.v1.Job DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.Job();
   }
@@ -3645,16 +3254,16 @@ public static com.google.cloud.video.transcoder.v1.Job getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Job parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Job(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Job parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Job(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3669,4 +3278,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.video.transcoder.v1.Job getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobConfig.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobConfig.java
similarity index 77%
rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobConfig.java
rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobConfig.java
index f6b94d8e..3f6c65aa 100644
--- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobConfig.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobConfig.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/video/transcoder/v1/resources.proto
 
 package com.google.cloud.video.transcoder.v1;
 
 /**
- *
- *
  * 
  * Job configuration
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.JobConfig} */ -public final class JobConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class JobConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.JobConfig) JobConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use JobConfig.newBuilder() to construct. private JobConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private JobConfig() { inputs_ = java.util.Collections.emptyList(); editList_ = java.util.Collections.emptyList(); @@ -50,15 +32,16 @@ private JobConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new JobConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private JobConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -78,142 +61,111 @@ private JobConfig( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - inputs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - inputs_.add( - input.readMessage( - com.google.cloud.video.transcoder.v1.Input.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + inputs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - editList_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - editList_.add( - input.readMessage( - com.google.cloud.video.transcoder.v1.EditAtom.parser(), extensionRegistry)); - break; + inputs_.add( + input.readMessage(com.google.cloud.video.transcoder.v1.Input.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + editList_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + editList_.add( + input.readMessage(com.google.cloud.video.transcoder.v1.EditAtom.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + elementaryStreams_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + elementaryStreams_.add( + input.readMessage(com.google.cloud.video.transcoder.v1.ElementaryStream.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + muxStreams_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - elementaryStreams_ = - new java.util.ArrayList< - com.google.cloud.video.transcoder.v1.ElementaryStream>(); - mutable_bitField0_ |= 0x00000004; - } - elementaryStreams_.add( - input.readMessage( - com.google.cloud.video.transcoder.v1.ElementaryStream.parser(), - extensionRegistry)); - break; + muxStreams_.add( + input.readMessage(com.google.cloud.video.transcoder.v1.MuxStream.parser(), extensionRegistry)); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + manifests_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - muxStreams_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - muxStreams_.add( - input.readMessage( - com.google.cloud.video.transcoder.v1.MuxStream.parser(), extensionRegistry)); - break; + manifests_.add( + input.readMessage(com.google.cloud.video.transcoder.v1.Manifest.parser(), extensionRegistry)); + break; + } + case 50: { + com.google.cloud.video.transcoder.v1.Output.Builder subBuilder = null; + if (output_ != null) { + subBuilder = output_.toBuilder(); } - case 42: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - manifests_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - manifests_.add( - input.readMessage( - com.google.cloud.video.transcoder.v1.Manifest.parser(), extensionRegistry)); - break; + output_ = input.readMessage(com.google.cloud.video.transcoder.v1.Output.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(output_); + output_ = subBuilder.buildPartial(); } - case 50: - { - com.google.cloud.video.transcoder.v1.Output.Builder subBuilder = null; - if (output_ != null) { - subBuilder = output_.toBuilder(); - } - output_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.Output.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(output_); - output_ = subBuilder.buildPartial(); - } - break; + break; + } + case 58: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + adBreaks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; + } + adBreaks_.add( + input.readMessage(com.google.cloud.video.transcoder.v1.AdBreak.parser(), extensionRegistry)); + break; + } + case 66: { + com.google.cloud.video.transcoder.v1.PubsubDestination.Builder subBuilder = null; + if (pubsubDestination_ != null) { + subBuilder = pubsubDestination_.toBuilder(); } - case 58: - { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - adBreaks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; - } - adBreaks_.add( - input.readMessage( - com.google.cloud.video.transcoder.v1.AdBreak.parser(), extensionRegistry)); - break; + pubsubDestination_ = input.readMessage(com.google.cloud.video.transcoder.v1.PubsubDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(pubsubDestination_); + pubsubDestination_ = subBuilder.buildPartial(); } - case 66: - { - com.google.cloud.video.transcoder.v1.PubsubDestination.Builder subBuilder = null; - if (pubsubDestination_ != null) { - subBuilder = pubsubDestination_.toBuilder(); - } - pubsubDestination_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.PubsubDestination.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(pubsubDestination_); - pubsubDestination_ = subBuilder.buildPartial(); - } - break; - } - case 74: - { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { - spriteSheets_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000040; - } - spriteSheets_.add( - input.readMessage( - com.google.cloud.video.transcoder.v1.SpriteSheet.parser(), - extensionRegistry)); - break; + break; + } + case 74: { + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + spriteSheets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000040; } - case 82: - { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { - overlays_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000080; - } - overlays_.add( - input.readMessage( - com.google.cloud.video.transcoder.v1.Overlay.parser(), extensionRegistry)); - break; + spriteSheets_.add( + input.readMessage(com.google.cloud.video.transcoder.v1.SpriteSheet.parser(), extensionRegistry)); + break; + } + case 82: { + if (!((mutable_bitField0_ & 0x00000080) != 0)) { + overlays_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000080; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + overlays_.add( + input.readMessage(com.google.cloud.video.transcoder.v1.Overlay.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -221,7 +173,8 @@ private JobConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { inputs_ = java.util.Collections.unmodifiableList(inputs_); @@ -251,27 +204,22 @@ private JobConfig( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_JobConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_JobConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_JobConfig_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_JobConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.JobConfig.class, - com.google.cloud.video.transcoder.v1.JobConfig.Builder.class); + com.google.cloud.video.transcoder.v1.JobConfig.class, com.google.cloud.video.transcoder.v1.JobConfig.Builder.class); } public static final int INPUTS_FIELD_NUMBER = 1; private java.util.List inputs_; /** - * - * *
    * List of input assets stored in Cloud Storage.
    * 
@@ -283,8 +231,6 @@ public java.util.List getInputsList( return inputs_; } /** - * - * *
    * List of input assets stored in Cloud Storage.
    * 
@@ -292,13 +238,11 @@ public java.util.List getInputsList( * repeated .google.cloud.video.transcoder.v1.Input inputs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInputsOrBuilderList() { return inputs_; } /** - * - * *
    * List of input assets stored in Cloud Storage.
    * 
@@ -310,8 +254,6 @@ public int getInputsCount() { return inputs_.size(); } /** - * - * *
    * List of input assets stored in Cloud Storage.
    * 
@@ -323,8 +265,6 @@ public com.google.cloud.video.transcoder.v1.Input getInputs(int index) { return inputs_.get(index); } /** - * - * *
    * List of input assets stored in Cloud Storage.
    * 
@@ -332,15 +272,14 @@ public com.google.cloud.video.transcoder.v1.Input getInputs(int index) { * repeated .google.cloud.video.transcoder.v1.Input inputs = 1; */ @java.lang.Override - public com.google.cloud.video.transcoder.v1.InputOrBuilder getInputsOrBuilder(int index) { + public com.google.cloud.video.transcoder.v1.InputOrBuilder getInputsOrBuilder( + int index) { return inputs_.get(index); } public static final int EDIT_LIST_FIELD_NUMBER = 2; private java.util.List editList_; /** - * - * *
    * List of `Edit atom`s. Defines the ultimate timeline of the resulting
    * file or manifest.
@@ -353,8 +292,6 @@ public java.util.List getEditList
     return editList_;
   }
   /**
-   *
-   *
    * 
    * List of `Edit atom`s. Defines the ultimate timeline of the resulting
    * file or manifest.
@@ -363,13 +300,11 @@ public java.util.List getEditList
    * repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getEditListOrBuilderList() {
     return editList_;
   }
   /**
-   *
-   *
    * 
    * List of `Edit atom`s. Defines the ultimate timeline of the resulting
    * file or manifest.
@@ -382,8 +317,6 @@ public int getEditListCount() {
     return editList_.size();
   }
   /**
-   *
-   *
    * 
    * List of `Edit atom`s. Defines the ultimate timeline of the resulting
    * file or manifest.
@@ -396,8 +329,6 @@ public com.google.cloud.video.transcoder.v1.EditAtom getEditList(int index) {
     return editList_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of `Edit atom`s. Defines the ultimate timeline of the resulting
    * file or manifest.
@@ -406,91 +337,74 @@ public com.google.cloud.video.transcoder.v1.EditAtom getEditList(int index) {
    * repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
    */
   @java.lang.Override
-  public com.google.cloud.video.transcoder.v1.EditAtomOrBuilder getEditListOrBuilder(int index) {
+  public com.google.cloud.video.transcoder.v1.EditAtomOrBuilder getEditListOrBuilder(
+      int index) {
     return editList_.get(index);
   }
 
   public static final int ELEMENTARY_STREAMS_FIELD_NUMBER = 3;
   private java.util.List elementaryStreams_;
   /**
-   *
-   *
    * 
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ @java.lang.Override - public java.util.List - getElementaryStreamsList() { + public java.util.List getElementaryStreamsList() { return elementaryStreams_; } /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ @java.lang.Override - public java.util.List + public java.util.List getElementaryStreamsOrBuilderList() { return elementaryStreams_; } /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ @java.lang.Override public int getElementaryStreamsCount() { return elementaryStreams_.size(); } /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ @java.lang.Override public com.google.cloud.video.transcoder.v1.ElementaryStream getElementaryStreams(int index) { return elementaryStreams_.get(index); } /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ @java.lang.Override - public com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder - getElementaryStreamsOrBuilder(int index) { + public com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStreamsOrBuilder( + int index) { return elementaryStreams_.get(index); } public static final int MUX_STREAMS_FIELD_NUMBER = 4; private java.util.List muxStreams_; /** - * - * *
    * List of multiplexing settings for output streams.
    * 
@@ -502,8 +416,6 @@ public java.util.List getMuxStre return muxStreams_; } /** - * - * *
    * List of multiplexing settings for output streams.
    * 
@@ -511,13 +423,11 @@ public java.util.List getMuxStre * repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4; */ @java.lang.Override - public java.util.List + public java.util.List getMuxStreamsOrBuilderList() { return muxStreams_; } /** - * - * *
    * List of multiplexing settings for output streams.
    * 
@@ -529,8 +439,6 @@ public int getMuxStreamsCount() { return muxStreams_.size(); } /** - * - * *
    * List of multiplexing settings for output streams.
    * 
@@ -542,8 +450,6 @@ public com.google.cloud.video.transcoder.v1.MuxStream getMuxStreams(int index) { return muxStreams_.get(index); } /** - * - * *
    * List of multiplexing settings for output streams.
    * 
@@ -551,15 +457,14 @@ public com.google.cloud.video.transcoder.v1.MuxStream getMuxStreams(int index) { * repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4; */ @java.lang.Override - public com.google.cloud.video.transcoder.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder(int index) { + public com.google.cloud.video.transcoder.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder( + int index) { return muxStreams_.get(index); } public static final int MANIFESTS_FIELD_NUMBER = 5; private java.util.List manifests_; /** - * - * *
    * List of output manifests.
    * 
@@ -571,8 +476,6 @@ public java.util.List getManifest return manifests_; } /** - * - * *
    * List of output manifests.
    * 
@@ -580,13 +483,11 @@ public java.util.List getManifest * repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5; */ @java.lang.Override - public java.util.List + public java.util.List getManifestsOrBuilderList() { return manifests_; } /** - * - * *
    * List of output manifests.
    * 
@@ -598,8 +499,6 @@ public int getManifestsCount() { return manifests_.size(); } /** - * - * *
    * List of output manifests.
    * 
@@ -611,8 +510,6 @@ public com.google.cloud.video.transcoder.v1.Manifest getManifests(int index) { return manifests_.get(index); } /** - * - * *
    * List of output manifests.
    * 
@@ -620,21 +517,19 @@ public com.google.cloud.video.transcoder.v1.Manifest getManifests(int index) { * repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5; */ @java.lang.Override - public com.google.cloud.video.transcoder.v1.ManifestOrBuilder getManifestsOrBuilder(int index) { + public com.google.cloud.video.transcoder.v1.ManifestOrBuilder getManifestsOrBuilder( + int index) { return manifests_.get(index); } public static final int OUTPUT_FIELD_NUMBER = 6; private com.google.cloud.video.transcoder.v1.Output output_; /** - * - * *
    * Output configuration.
    * 
* * .google.cloud.video.transcoder.v1.Output output = 6; - * * @return Whether the output field is set. */ @java.lang.Override @@ -642,25 +537,18 @@ public boolean hasOutput() { return output_ != null; } /** - * - * *
    * Output configuration.
    * 
* * .google.cloud.video.transcoder.v1.Output output = 6; - * * @return The output. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.Output getOutput() { - return output_ == null - ? com.google.cloud.video.transcoder.v1.Output.getDefaultInstance() - : output_; + return output_ == null ? com.google.cloud.video.transcoder.v1.Output.getDefaultInstance() : output_; } /** - * - * *
    * Output configuration.
    * 
@@ -675,8 +563,6 @@ public com.google.cloud.video.transcoder.v1.OutputOrBuilder getOutputOrBuilder() public static final int AD_BREAKS_FIELD_NUMBER = 7; private java.util.List adBreaks_; /** - * - * *
    * List of ad breaks. Specifies where to insert ad break tags in the output
    * manifests.
@@ -689,8 +575,6 @@ public java.util.List getAdBreaksL
     return adBreaks_;
   }
   /**
-   *
-   *
    * 
    * List of ad breaks. Specifies where to insert ad break tags in the output
    * manifests.
@@ -699,13 +583,11 @@ public java.util.List getAdBreaksL
    * repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getAdBreaksOrBuilderList() {
     return adBreaks_;
   }
   /**
-   *
-   *
    * 
    * List of ad breaks. Specifies where to insert ad break tags in the output
    * manifests.
@@ -718,8 +600,6 @@ public int getAdBreaksCount() {
     return adBreaks_.size();
   }
   /**
-   *
-   *
    * 
    * List of ad breaks. Specifies where to insert ad break tags in the output
    * manifests.
@@ -732,8 +612,6 @@ public com.google.cloud.video.transcoder.v1.AdBreak getAdBreaks(int index) {
     return adBreaks_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of ad breaks. Specifies where to insert ad break tags in the output
    * manifests.
@@ -742,21 +620,19 @@ public com.google.cloud.video.transcoder.v1.AdBreak getAdBreaks(int index) {
    * repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
    */
   @java.lang.Override
-  public com.google.cloud.video.transcoder.v1.AdBreakOrBuilder getAdBreaksOrBuilder(int index) {
+  public com.google.cloud.video.transcoder.v1.AdBreakOrBuilder getAdBreaksOrBuilder(
+      int index) {
     return adBreaks_.get(index);
   }
 
   public static final int PUBSUB_DESTINATION_FIELD_NUMBER = 8;
   private com.google.cloud.video.transcoder.v1.PubsubDestination pubsubDestination_;
   /**
-   *
-   *
    * 
    * Destination on Pub/Sub.
    * 
* * .google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8; - * * @return Whether the pubsubDestination field is set. */ @java.lang.Override @@ -764,25 +640,18 @@ public boolean hasPubsubDestination() { return pubsubDestination_ != null; } /** - * - * *
    * Destination on Pub/Sub.
    * 
* * .google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8; - * * @return The pubsubDestination. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.PubsubDestination getPubsubDestination() { - return pubsubDestination_ == null - ? com.google.cloud.video.transcoder.v1.PubsubDestination.getDefaultInstance() - : pubsubDestination_; + return pubsubDestination_ == null ? com.google.cloud.video.transcoder.v1.PubsubDestination.getDefaultInstance() : pubsubDestination_; } /** - * - * *
    * Destination on Pub/Sub.
    * 
@@ -790,16 +659,13 @@ public com.google.cloud.video.transcoder.v1.PubsubDestination getPubsubDestinati * .google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8; */ @java.lang.Override - public com.google.cloud.video.transcoder.v1.PubsubDestinationOrBuilder - getPubsubDestinationOrBuilder() { + public com.google.cloud.video.transcoder.v1.PubsubDestinationOrBuilder getPubsubDestinationOrBuilder() { return getPubsubDestination(); } public static final int SPRITE_SHEETS_FIELD_NUMBER = 9; private java.util.List spriteSheets_; /** - * - * *
    * List of output sprite sheets.
    * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -812,8 +678,6 @@ public java.util.List getSprit
     return spriteSheets_;
   }
   /**
-   *
-   *
    * 
    * List of output sprite sheets.
    * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -822,13 +686,11 @@ public java.util.List getSprit
    * repeated .google.cloud.video.transcoder.v1.SpriteSheet sprite_sheets = 9;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getSpriteSheetsOrBuilderList() {
     return spriteSheets_;
   }
   /**
-   *
-   *
    * 
    * List of output sprite sheets.
    * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -841,8 +703,6 @@ public int getSpriteSheetsCount() {
     return spriteSheets_.size();
   }
   /**
-   *
-   *
    * 
    * List of output sprite sheets.
    * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -855,8 +715,6 @@ public com.google.cloud.video.transcoder.v1.SpriteSheet getSpriteSheets(int inde
     return spriteSheets_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of output sprite sheets.
    * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -873,8 +731,6 @@ public com.google.cloud.video.transcoder.v1.SpriteSheetOrBuilder getSpriteSheets
   public static final int OVERLAYS_FIELD_NUMBER = 10;
   private java.util.List overlays_;
   /**
-   *
-   *
    * 
    * List of overlays on the output video, in descending Z-order.
    * 
@@ -886,8 +742,6 @@ public java.util.List getOverlaysL return overlays_; } /** - * - * *
    * List of overlays on the output video, in descending Z-order.
    * 
@@ -895,13 +749,11 @@ public java.util.List getOverlaysL * repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10; */ @java.lang.Override - public java.util.List + public java.util.List getOverlaysOrBuilderList() { return overlays_; } /** - * - * *
    * List of overlays on the output video, in descending Z-order.
    * 
@@ -913,8 +765,6 @@ public int getOverlaysCount() { return overlays_.size(); } /** - * - * *
    * List of overlays on the output video, in descending Z-order.
    * 
@@ -926,8 +776,6 @@ public com.google.cloud.video.transcoder.v1.Overlay getOverlays(int index) { return overlays_.get(index); } /** - * - * *
    * List of overlays on the output video, in descending Z-order.
    * 
@@ -935,12 +783,12 @@ public com.google.cloud.video.transcoder.v1.Overlay getOverlays(int index) { * repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10; */ @java.lang.Override - public com.google.cloud.video.transcoder.v1.OverlayOrBuilder getOverlaysOrBuilder(int index) { + public com.google.cloud.video.transcoder.v1.OverlayOrBuilder getOverlaysOrBuilder( + int index) { return overlays_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -952,7 +800,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < inputs_.size(); i++) { output.writeMessage(1, inputs_.get(i)); } @@ -993,35 +842,44 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < inputs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, inputs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, inputs_.get(i)); } for (int i = 0; i < editList_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, editList_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, editList_.get(i)); } for (int i = 0; i < elementaryStreams_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, elementaryStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, elementaryStreams_.get(i)); } for (int i = 0; i < muxStreams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, muxStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, muxStreams_.get(i)); } for (int i = 0; i < manifests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, manifests_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, manifests_.get(i)); } if (output_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getOutput()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getOutput()); } for (int i = 0; i < adBreaks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, adBreaks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, adBreaks_.get(i)); } if (pubsubDestination_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPubsubDestination()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getPubsubDestination()); } for (int i = 0; i < spriteSheets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, spriteSheets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, spriteSheets_.get(i)); } for (int i = 0; i < overlays_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, overlays_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, overlays_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1031,30 +889,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.JobConfig)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.JobConfig other = - (com.google.cloud.video.transcoder.v1.JobConfig) obj; - - if (!getInputsList().equals(other.getInputsList())) return false; - if (!getEditListList().equals(other.getEditListList())) return false; - if (!getElementaryStreamsList().equals(other.getElementaryStreamsList())) return false; - if (!getMuxStreamsList().equals(other.getMuxStreamsList())) return false; - if (!getManifestsList().equals(other.getManifestsList())) return false; + com.google.cloud.video.transcoder.v1.JobConfig other = (com.google.cloud.video.transcoder.v1.JobConfig) obj; + + if (!getInputsList() + .equals(other.getInputsList())) return false; + if (!getEditListList() + .equals(other.getEditListList())) return false; + if (!getElementaryStreamsList() + .equals(other.getElementaryStreamsList())) return false; + if (!getMuxStreamsList() + .equals(other.getMuxStreamsList())) return false; + if (!getManifestsList() + .equals(other.getManifestsList())) return false; if (hasOutput() != other.hasOutput()) return false; if (hasOutput()) { - if (!getOutput().equals(other.getOutput())) return false; + if (!getOutput() + .equals(other.getOutput())) return false; } - if (!getAdBreaksList().equals(other.getAdBreaksList())) return false; + if (!getAdBreaksList() + .equals(other.getAdBreaksList())) return false; if (hasPubsubDestination() != other.hasPubsubDestination()) return false; if (hasPubsubDestination()) { - if (!getPubsubDestination().equals(other.getPubsubDestination())) return false; + if (!getPubsubDestination() + .equals(other.getPubsubDestination())) return false; } - if (!getSpriteSheetsList().equals(other.getSpriteSheetsList())) return false; - if (!getOverlaysList().equals(other.getOverlaysList())) return false; + if (!getSpriteSheetsList() + .equals(other.getSpriteSheetsList())) return false; + if (!getOverlaysList() + .equals(other.getOverlaysList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1111,127 +978,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.transcoder.v1.JobConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.video.transcoder.v1.JobConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.JobConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.JobConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.JobConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.JobConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.JobConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.JobConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.JobConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.JobConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.JobConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.JobConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.JobConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.JobConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.transcoder.v1.JobConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Job configuration
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.JobConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.JobConfig) com.google.cloud.video.transcoder.v1.JobConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_JobConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_JobConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_JobConfig_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_JobConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.JobConfig.class, - com.google.cloud.video.transcoder.v1.JobConfig.Builder.class); + com.google.cloud.video.transcoder.v1.JobConfig.class, com.google.cloud.video.transcoder.v1.JobConfig.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.JobConfig.newBuilder() @@ -1239,13 +1097,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getInputsFieldBuilder(); getEditListFieldBuilder(); getElementaryStreamsFieldBuilder(); @@ -1256,7 +1115,6 @@ private void maybeForceBuilderInitialization() { getOverlaysFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1324,9 +1182,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_JobConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_JobConfig_descriptor; } @java.lang.Override @@ -1345,8 +1203,7 @@ public com.google.cloud.video.transcoder.v1.JobConfig build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.JobConfig buildPartial() { - com.google.cloud.video.transcoder.v1.JobConfig result = - new com.google.cloud.video.transcoder.v1.JobConfig(this); + com.google.cloud.video.transcoder.v1.JobConfig result = new com.google.cloud.video.transcoder.v1.JobConfig(this); int from_bitField0_ = bitField0_; if (inputsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1438,39 +1295,38 @@ public com.google.cloud.video.transcoder.v1.JobConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.JobConfig) { - return mergeFrom((com.google.cloud.video.transcoder.v1.JobConfig) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.JobConfig)other); } else { super.mergeFrom(other); return this; @@ -1497,10 +1353,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.JobConfig other) { inputsBuilder_ = null; inputs_ = other.inputs_; bitField0_ = (bitField0_ & ~0x00000001); - inputsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getInputsFieldBuilder() - : null; + inputsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInputsFieldBuilder() : null; } else { inputsBuilder_.addAllMessages(other.inputs_); } @@ -1524,10 +1379,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.JobConfig other) { editListBuilder_ = null; editList_ = other.editList_; bitField0_ = (bitField0_ & ~0x00000002); - editListBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEditListFieldBuilder() - : null; + editListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEditListFieldBuilder() : null; } else { editListBuilder_.addAllMessages(other.editList_); } @@ -1551,10 +1405,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.JobConfig other) { elementaryStreamsBuilder_ = null; elementaryStreams_ = other.elementaryStreams_; bitField0_ = (bitField0_ & ~0x00000004); - elementaryStreamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getElementaryStreamsFieldBuilder() - : null; + elementaryStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getElementaryStreamsFieldBuilder() : null; } else { elementaryStreamsBuilder_.addAllMessages(other.elementaryStreams_); } @@ -1578,10 +1431,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.JobConfig other) { muxStreamsBuilder_ = null; muxStreams_ = other.muxStreams_; bitField0_ = (bitField0_ & ~0x00000008); - muxStreamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMuxStreamsFieldBuilder() - : null; + muxStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMuxStreamsFieldBuilder() : null; } else { muxStreamsBuilder_.addAllMessages(other.muxStreams_); } @@ -1605,10 +1457,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.JobConfig other) { manifestsBuilder_ = null; manifests_ = other.manifests_; bitField0_ = (bitField0_ & ~0x00000010); - manifestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getManifestsFieldBuilder() - : null; + manifestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getManifestsFieldBuilder() : null; } else { manifestsBuilder_.addAllMessages(other.manifests_); } @@ -1635,10 +1486,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.JobConfig other) { adBreaksBuilder_ = null; adBreaks_ = other.adBreaks_; bitField0_ = (bitField0_ & ~0x00000020); - adBreaksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAdBreaksFieldBuilder() - : null; + adBreaksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAdBreaksFieldBuilder() : null; } else { adBreaksBuilder_.addAllMessages(other.adBreaks_); } @@ -1665,10 +1515,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.JobConfig other) { spriteSheetsBuilder_ = null; spriteSheets_ = other.spriteSheets_; bitField0_ = (bitField0_ & ~0x00000040); - spriteSheetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSpriteSheetsFieldBuilder() - : null; + spriteSheetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSpriteSheetsFieldBuilder() : null; } else { spriteSheetsBuilder_.addAllMessages(other.spriteSheets_); } @@ -1692,10 +1541,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.JobConfig other) { overlaysBuilder_ = null; overlays_ = other.overlays_; bitField0_ = (bitField0_ & ~0x00000080); - overlaysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOverlaysFieldBuilder() - : null; + overlaysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOverlaysFieldBuilder() : null; } else { overlaysBuilder_.addAllMessages(other.overlays_); } @@ -1729,28 +1577,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List inputs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInputsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { inputs_ = new java.util.ArrayList(inputs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Input, - com.google.cloud.video.transcoder.v1.Input.Builder, - com.google.cloud.video.transcoder.v1.InputOrBuilder> - inputsBuilder_; + com.google.cloud.video.transcoder.v1.Input, com.google.cloud.video.transcoder.v1.Input.Builder, com.google.cloud.video.transcoder.v1.InputOrBuilder> inputsBuilder_; /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
@@ -1765,8 +1606,6 @@ public java.util.List getInputsList( } } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
@@ -1781,8 +1620,6 @@ public int getInputsCount() { } } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
@@ -1797,15 +1634,14 @@ public com.google.cloud.video.transcoder.v1.Input getInputs(int index) { } } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
* * repeated .google.cloud.video.transcoder.v1.Input inputs = 1; */ - public Builder setInputs(int index, com.google.cloud.video.transcoder.v1.Input value) { + public Builder setInputs( + int index, com.google.cloud.video.transcoder.v1.Input value) { if (inputsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1819,8 +1655,6 @@ public Builder setInputs(int index, com.google.cloud.video.transcoder.v1.Input v return this; } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
@@ -1839,8 +1673,6 @@ public Builder setInputs( return this; } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
@@ -1861,15 +1693,14 @@ public Builder addInputs(com.google.cloud.video.transcoder.v1.Input value) { return this; } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
* * repeated .google.cloud.video.transcoder.v1.Input inputs = 1; */ - public Builder addInputs(int index, com.google.cloud.video.transcoder.v1.Input value) { + public Builder addInputs( + int index, com.google.cloud.video.transcoder.v1.Input value) { if (inputsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1883,15 +1714,14 @@ public Builder addInputs(int index, com.google.cloud.video.transcoder.v1.Input v return this; } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
* * repeated .google.cloud.video.transcoder.v1.Input inputs = 1; */ - public Builder addInputs(com.google.cloud.video.transcoder.v1.Input.Builder builderForValue) { + public Builder addInputs( + com.google.cloud.video.transcoder.v1.Input.Builder builderForValue) { if (inputsBuilder_ == null) { ensureInputsIsMutable(); inputs_.add(builderForValue.build()); @@ -1902,8 +1732,6 @@ public Builder addInputs(com.google.cloud.video.transcoder.v1.Input.Builder buil return this; } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
@@ -1922,8 +1750,6 @@ public Builder addInputs( return this; } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
@@ -1934,7 +1760,8 @@ public Builder addAllInputs( java.lang.Iterable values) { if (inputsBuilder_ == null) { ensureInputsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inputs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inputs_); onChanged(); } else { inputsBuilder_.addAllMessages(values); @@ -1942,8 +1769,6 @@ public Builder addAllInputs( return this; } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
@@ -1961,8 +1786,6 @@ public Builder clearInputs() { return this; } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
@@ -1980,44 +1803,39 @@ public Builder removeInputs(int index) { return this; } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
* * repeated .google.cloud.video.transcoder.v1.Input inputs = 1; */ - public com.google.cloud.video.transcoder.v1.Input.Builder getInputsBuilder(int index) { + public com.google.cloud.video.transcoder.v1.Input.Builder getInputsBuilder( + int index) { return getInputsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
* * repeated .google.cloud.video.transcoder.v1.Input inputs = 1; */ - public com.google.cloud.video.transcoder.v1.InputOrBuilder getInputsOrBuilder(int index) { + public com.google.cloud.video.transcoder.v1.InputOrBuilder getInputsOrBuilder( + int index) { if (inputsBuilder_ == null) { - return inputs_.get(index); - } else { + return inputs_.get(index); } else { return inputsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
* * repeated .google.cloud.video.transcoder.v1.Input inputs = 1; */ - public java.util.List - getInputsOrBuilderList() { + public java.util.List + getInputsOrBuilderList() { if (inputsBuilder_ != null) { return inputsBuilder_.getMessageOrBuilderList(); } else { @@ -2025,8 +1843,6 @@ public com.google.cloud.video.transcoder.v1.InputOrBuilder getInputsOrBuilder(in } } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
@@ -2034,73 +1850,60 @@ public com.google.cloud.video.transcoder.v1.InputOrBuilder getInputsOrBuilder(in * repeated .google.cloud.video.transcoder.v1.Input inputs = 1; */ public com.google.cloud.video.transcoder.v1.Input.Builder addInputsBuilder() { - return getInputsFieldBuilder() - .addBuilder(com.google.cloud.video.transcoder.v1.Input.getDefaultInstance()); + return getInputsFieldBuilder().addBuilder( + com.google.cloud.video.transcoder.v1.Input.getDefaultInstance()); } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
* * repeated .google.cloud.video.transcoder.v1.Input inputs = 1; */ - public com.google.cloud.video.transcoder.v1.Input.Builder addInputsBuilder(int index) { - return getInputsFieldBuilder() - .addBuilder(index, com.google.cloud.video.transcoder.v1.Input.getDefaultInstance()); + public com.google.cloud.video.transcoder.v1.Input.Builder addInputsBuilder( + int index) { + return getInputsFieldBuilder().addBuilder( + index, com.google.cloud.video.transcoder.v1.Input.getDefaultInstance()); } /** - * - * *
      * List of input assets stored in Cloud Storage.
      * 
* * repeated .google.cloud.video.transcoder.v1.Input inputs = 1; */ - public java.util.List - getInputsBuilderList() { + public java.util.List + getInputsBuilderList() { return getInputsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Input, - com.google.cloud.video.transcoder.v1.Input.Builder, - com.google.cloud.video.transcoder.v1.InputOrBuilder> + com.google.cloud.video.transcoder.v1.Input, com.google.cloud.video.transcoder.v1.Input.Builder, com.google.cloud.video.transcoder.v1.InputOrBuilder> getInputsFieldBuilder() { if (inputsBuilder_ == null) { - inputsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Input, - com.google.cloud.video.transcoder.v1.Input.Builder, - com.google.cloud.video.transcoder.v1.InputOrBuilder>( - inputs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + inputsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.transcoder.v1.Input, com.google.cloud.video.transcoder.v1.Input.Builder, com.google.cloud.video.transcoder.v1.InputOrBuilder>( + inputs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); inputs_ = null; } return inputsBuilder_; } private java.util.List editList_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEditListIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - editList_ = - new java.util.ArrayList(editList_); + editList_ = new java.util.ArrayList(editList_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.EditAtom, - com.google.cloud.video.transcoder.v1.EditAtom.Builder, - com.google.cloud.video.transcoder.v1.EditAtomOrBuilder> - editListBuilder_; + com.google.cloud.video.transcoder.v1.EditAtom, com.google.cloud.video.transcoder.v1.EditAtom.Builder, com.google.cloud.video.transcoder.v1.EditAtomOrBuilder> editListBuilder_; /** - * - * *
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2116,8 +1919,6 @@ public java.util.List getEditList
       }
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2133,8 +1934,6 @@ public int getEditListCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2150,8 +1949,6 @@ public com.google.cloud.video.transcoder.v1.EditAtom getEditList(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2159,7 +1956,8 @@ public com.google.cloud.video.transcoder.v1.EditAtom getEditList(int index) {
      *
      * repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
      */
-    public Builder setEditList(int index, com.google.cloud.video.transcoder.v1.EditAtom value) {
+    public Builder setEditList(
+        int index, com.google.cloud.video.transcoder.v1.EditAtom value) {
       if (editListBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2173,8 +1971,6 @@ public Builder setEditList(int index, com.google.cloud.video.transcoder.v1.EditA
       return this;
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2194,8 +1990,6 @@ public Builder setEditList(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2217,8 +2011,6 @@ public Builder addEditList(com.google.cloud.video.transcoder.v1.EditAtom value)
       return this;
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2226,7 +2018,8 @@ public Builder addEditList(com.google.cloud.video.transcoder.v1.EditAtom value)
      *
      * repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
      */
-    public Builder addEditList(int index, com.google.cloud.video.transcoder.v1.EditAtom value) {
+    public Builder addEditList(
+        int index, com.google.cloud.video.transcoder.v1.EditAtom value) {
       if (editListBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2240,8 +2033,6 @@ public Builder addEditList(int index, com.google.cloud.video.transcoder.v1.EditA
       return this;
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2261,8 +2052,6 @@ public Builder addEditList(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2282,8 +2071,6 @@ public Builder addEditList(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2295,7 +2082,8 @@ public Builder addAllEditList(
         java.lang.Iterable values) {
       if (editListBuilder_ == null) {
         ensureEditListIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, editList_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, editList_);
         onChanged();
       } else {
         editListBuilder_.addAllMessages(values);
@@ -2303,8 +2091,6 @@ public Builder addAllEditList(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2323,8 +2109,6 @@ public Builder clearEditList() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2343,8 +2127,6 @@ public Builder removeEditList(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2352,12 +2134,11 @@ public Builder removeEditList(int index) {
      *
      * repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
      */
-    public com.google.cloud.video.transcoder.v1.EditAtom.Builder getEditListBuilder(int index) {
+    public com.google.cloud.video.transcoder.v1.EditAtom.Builder getEditListBuilder(
+        int index) {
       return getEditListFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2365,16 +2146,14 @@ public com.google.cloud.video.transcoder.v1.EditAtom.Builder getEditListBuilder(
      *
      * repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
      */
-    public com.google.cloud.video.transcoder.v1.EditAtomOrBuilder getEditListOrBuilder(int index) {
+    public com.google.cloud.video.transcoder.v1.EditAtomOrBuilder getEditListOrBuilder(
+        int index) {
       if (editListBuilder_ == null) {
-        return editList_.get(index);
-      } else {
+        return editList_.get(index);  } else {
         return editListBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2382,8 +2161,8 @@ public com.google.cloud.video.transcoder.v1.EditAtomOrBuilder getEditListOrBuild
      *
      * repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
      */
-    public java.util.List
-        getEditListOrBuilderList() {
+    public java.util.List 
+         getEditListOrBuilderList() {
       if (editListBuilder_ != null) {
         return editListBuilder_.getMessageOrBuilderList();
       } else {
@@ -2391,8 +2170,6 @@ public com.google.cloud.video.transcoder.v1.EditAtomOrBuilder getEditListOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2401,12 +2178,10 @@ public com.google.cloud.video.transcoder.v1.EditAtomOrBuilder getEditListOrBuild
      * repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
      */
     public com.google.cloud.video.transcoder.v1.EditAtom.Builder addEditListBuilder() {
-      return getEditListFieldBuilder()
-          .addBuilder(com.google.cloud.video.transcoder.v1.EditAtom.getDefaultInstance());
+      return getEditListFieldBuilder().addBuilder(
+          com.google.cloud.video.transcoder.v1.EditAtom.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2414,13 +2189,12 @@ public com.google.cloud.video.transcoder.v1.EditAtom.Builder addEditListBuilder(
      *
      * repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
      */
-    public com.google.cloud.video.transcoder.v1.EditAtom.Builder addEditListBuilder(int index) {
-      return getEditListFieldBuilder()
-          .addBuilder(index, com.google.cloud.video.transcoder.v1.EditAtom.getDefaultInstance());
+    public com.google.cloud.video.transcoder.v1.EditAtom.Builder addEditListBuilder(
+        int index) {
+      return getEditListFieldBuilder().addBuilder(
+          index, com.google.cloud.video.transcoder.v1.EditAtom.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of `Edit atom`s. Defines the ultimate timeline of the resulting
      * file or manifest.
@@ -2428,58 +2202,45 @@ public com.google.cloud.video.transcoder.v1.EditAtom.Builder addEditListBuilder(
      *
      * repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
      */
-    public java.util.List
-        getEditListBuilderList() {
+    public java.util.List 
+         getEditListBuilderList() {
       return getEditListFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.video.transcoder.v1.EditAtom,
-            com.google.cloud.video.transcoder.v1.EditAtom.Builder,
-            com.google.cloud.video.transcoder.v1.EditAtomOrBuilder>
+        com.google.cloud.video.transcoder.v1.EditAtom, com.google.cloud.video.transcoder.v1.EditAtom.Builder, com.google.cloud.video.transcoder.v1.EditAtomOrBuilder> 
         getEditListFieldBuilder() {
       if (editListBuilder_ == null) {
-        editListBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.video.transcoder.v1.EditAtom,
-                com.google.cloud.video.transcoder.v1.EditAtom.Builder,
-                com.google.cloud.video.transcoder.v1.EditAtomOrBuilder>(
-                editList_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        editListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.video.transcoder.v1.EditAtom, com.google.cloud.video.transcoder.v1.EditAtom.Builder, com.google.cloud.video.transcoder.v1.EditAtomOrBuilder>(
+                editList_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         editList_ = null;
       }
       return editListBuilder_;
     }
 
-    private java.util.List
-        elementaryStreams_ = java.util.Collections.emptyList();
-
+    private java.util.List elementaryStreams_ =
+      java.util.Collections.emptyList();
     private void ensureElementaryStreamsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
-        elementaryStreams_ =
-            new java.util.ArrayList(
-                elementaryStreams_);
+        elementaryStreams_ = new java.util.ArrayList(elementaryStreams_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.video.transcoder.v1.ElementaryStream,
-            com.google.cloud.video.transcoder.v1.ElementaryStream.Builder,
-            com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder>
-        elementaryStreamsBuilder_;
+        com.google.cloud.video.transcoder.v1.ElementaryStream, com.google.cloud.video.transcoder.v1.ElementaryStream.Builder, com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder> elementaryStreamsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ - public java.util.List - getElementaryStreamsList() { + public java.util.List getElementaryStreamsList() { if (elementaryStreamsBuilder_ == null) { return java.util.Collections.unmodifiableList(elementaryStreams_); } else { @@ -2487,14 +2248,11 @@ private void ensureElementaryStreamsIsMutable() { } } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ public int getElementaryStreamsCount() { if (elementaryStreamsBuilder_ == null) { @@ -2504,14 +2262,11 @@ public int getElementaryStreamsCount() { } } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ public com.google.cloud.video.transcoder.v1.ElementaryStream getElementaryStreams(int index) { if (elementaryStreamsBuilder_ == null) { @@ -2521,14 +2276,11 @@ public com.google.cloud.video.transcoder.v1.ElementaryStream getElementaryStream } } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ public Builder setElementaryStreams( int index, com.google.cloud.video.transcoder.v1.ElementaryStream value) { @@ -2545,14 +2297,11 @@ public Builder setElementaryStreams( return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ public Builder setElementaryStreams( int index, com.google.cloud.video.transcoder.v1.ElementaryStream.Builder builderForValue) { @@ -2566,17 +2315,13 @@ public Builder setElementaryStreams( return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ - public Builder addElementaryStreams( - com.google.cloud.video.transcoder.v1.ElementaryStream value) { + public Builder addElementaryStreams(com.google.cloud.video.transcoder.v1.ElementaryStream value) { if (elementaryStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2590,14 +2335,11 @@ public Builder addElementaryStreams( return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ public Builder addElementaryStreams( int index, com.google.cloud.video.transcoder.v1.ElementaryStream value) { @@ -2614,14 +2356,11 @@ public Builder addElementaryStreams( return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ public Builder addElementaryStreams( com.google.cloud.video.transcoder.v1.ElementaryStream.Builder builderForValue) { @@ -2635,14 +2374,11 @@ public Builder addElementaryStreams( return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ public Builder addElementaryStreams( int index, com.google.cloud.video.transcoder.v1.ElementaryStream.Builder builderForValue) { @@ -2656,21 +2392,18 @@ public Builder addElementaryStreams( return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ public Builder addAllElementaryStreams( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (elementaryStreamsBuilder_ == null) { ensureElementaryStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, elementaryStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, elementaryStreams_); onChanged(); } else { elementaryStreamsBuilder_.addAllMessages(values); @@ -2678,14 +2411,11 @@ public Builder addAllElementaryStreams( return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ public Builder clearElementaryStreams() { if (elementaryStreamsBuilder_ == null) { @@ -2698,14 +2428,11 @@ public Builder clearElementaryStreams() { return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ public Builder removeElementaryStreams(int index) { if (elementaryStreamsBuilder_ == null) { @@ -2718,49 +2445,39 @@ public Builder removeElementaryStreams(int index) { return this; } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ - public com.google.cloud.video.transcoder.v1.ElementaryStream.Builder - getElementaryStreamsBuilder(int index) { + public com.google.cloud.video.transcoder.v1.ElementaryStream.Builder getElementaryStreamsBuilder( + int index) { return getElementaryStreamsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ - public com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder - getElementaryStreamsOrBuilder(int index) { + public com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStreamsOrBuilder( + int index) { if (elementaryStreamsBuilder_ == null) { - return elementaryStreams_.get(index); - } else { + return elementaryStreams_.get(index); } else { return elementaryStreamsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ - public java.util.List - getElementaryStreamsOrBuilderList() { + public java.util.List + getElementaryStreamsOrBuilderList() { if (elementaryStreamsBuilder_ != null) { return elementaryStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -2768,62 +2485,45 @@ public Builder removeElementaryStreams(int index) { } } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ - public com.google.cloud.video.transcoder.v1.ElementaryStream.Builder - addElementaryStreamsBuilder() { - return getElementaryStreamsFieldBuilder() - .addBuilder(com.google.cloud.video.transcoder.v1.ElementaryStream.getDefaultInstance()); + public com.google.cloud.video.transcoder.v1.ElementaryStream.Builder addElementaryStreamsBuilder() { + return getElementaryStreamsFieldBuilder().addBuilder( + com.google.cloud.video.transcoder.v1.ElementaryStream.getDefaultInstance()); } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ - public com.google.cloud.video.transcoder.v1.ElementaryStream.Builder - addElementaryStreamsBuilder(int index) { - return getElementaryStreamsFieldBuilder() - .addBuilder( - index, com.google.cloud.video.transcoder.v1.ElementaryStream.getDefaultInstance()); + public com.google.cloud.video.transcoder.v1.ElementaryStream.Builder addElementaryStreamsBuilder( + int index) { + return getElementaryStreamsFieldBuilder().addBuilder( + index, com.google.cloud.video.transcoder.v1.ElementaryStream.getDefaultInstance()); } /** - * - * *
      * List of elementary streams.
      * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ - public java.util.List - getElementaryStreamsBuilderList() { + public java.util.List + getElementaryStreamsBuilderList() { return getElementaryStreamsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.ElementaryStream, - com.google.cloud.video.transcoder.v1.ElementaryStream.Builder, - com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder> + com.google.cloud.video.transcoder.v1.ElementaryStream, com.google.cloud.video.transcoder.v1.ElementaryStream.Builder, com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder> getElementaryStreamsFieldBuilder() { if (elementaryStreamsBuilder_ == null) { - elementaryStreamsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.ElementaryStream, - com.google.cloud.video.transcoder.v1.ElementaryStream.Builder, - com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder>( + elementaryStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.transcoder.v1.ElementaryStream, com.google.cloud.video.transcoder.v1.ElementaryStream.Builder, com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder>( elementaryStreams_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -2834,25 +2534,18 @@ public Builder removeElementaryStreams(int index) { } private java.util.List muxStreams_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMuxStreamsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - muxStreams_ = - new java.util.ArrayList(muxStreams_); + muxStreams_ = new java.util.ArrayList(muxStreams_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.MuxStream, - com.google.cloud.video.transcoder.v1.MuxStream.Builder, - com.google.cloud.video.transcoder.v1.MuxStreamOrBuilder> - muxStreamsBuilder_; + com.google.cloud.video.transcoder.v1.MuxStream, com.google.cloud.video.transcoder.v1.MuxStream.Builder, com.google.cloud.video.transcoder.v1.MuxStreamOrBuilder> muxStreamsBuilder_; /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -2867,8 +2560,6 @@ public java.util.List getMuxStre } } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -2883,8 +2574,6 @@ public int getMuxStreamsCount() { } } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -2899,15 +2588,14 @@ public com.google.cloud.video.transcoder.v1.MuxStream getMuxStreams(int index) { } } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4; */ - public Builder setMuxStreams(int index, com.google.cloud.video.transcoder.v1.MuxStream value) { + public Builder setMuxStreams( + int index, com.google.cloud.video.transcoder.v1.MuxStream value) { if (muxStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2921,8 +2609,6 @@ public Builder setMuxStreams(int index, com.google.cloud.video.transcoder.v1.Mux return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -2941,8 +2627,6 @@ public Builder setMuxStreams( return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -2963,15 +2647,14 @@ public Builder addMuxStreams(com.google.cloud.video.transcoder.v1.MuxStream valu return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4; */ - public Builder addMuxStreams(int index, com.google.cloud.video.transcoder.v1.MuxStream value) { + public Builder addMuxStreams( + int index, com.google.cloud.video.transcoder.v1.MuxStream value) { if (muxStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2985,8 +2668,6 @@ public Builder addMuxStreams(int index, com.google.cloud.video.transcoder.v1.Mux return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -3005,8 +2686,6 @@ public Builder addMuxStreams( return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -3025,8 +2704,6 @@ public Builder addMuxStreams( return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -3037,7 +2714,8 @@ public Builder addAllMuxStreams( java.lang.Iterable values) { if (muxStreamsBuilder_ == null) { ensureMuxStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, muxStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, muxStreams_); onChanged(); } else { muxStreamsBuilder_.addAllMessages(values); @@ -3045,8 +2723,6 @@ public Builder addAllMuxStreams( return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -3064,8 +2740,6 @@ public Builder clearMuxStreams() { return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -3083,20 +2757,17 @@ public Builder removeMuxStreams(int index) { return this; } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4; */ - public com.google.cloud.video.transcoder.v1.MuxStream.Builder getMuxStreamsBuilder(int index) { + public com.google.cloud.video.transcoder.v1.MuxStream.Builder getMuxStreamsBuilder( + int index) { return getMuxStreamsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -3106,22 +2777,19 @@ public com.google.cloud.video.transcoder.v1.MuxStream.Builder getMuxStreamsBuild public com.google.cloud.video.transcoder.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder( int index) { if (muxStreamsBuilder_ == null) { - return muxStreams_.get(index); - } else { + return muxStreams_.get(index); } else { return muxStreamsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4; */ - public java.util.List - getMuxStreamsOrBuilderList() { + public java.util.List + getMuxStreamsOrBuilderList() { if (muxStreamsBuilder_ != null) { return muxStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -3129,8 +2797,6 @@ public com.google.cloud.video.transcoder.v1.MuxStreamOrBuilder getMuxStreamsOrBu } } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
@@ -3138,73 +2804,60 @@ public com.google.cloud.video.transcoder.v1.MuxStreamOrBuilder getMuxStreamsOrBu * repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4; */ public com.google.cloud.video.transcoder.v1.MuxStream.Builder addMuxStreamsBuilder() { - return getMuxStreamsFieldBuilder() - .addBuilder(com.google.cloud.video.transcoder.v1.MuxStream.getDefaultInstance()); + return getMuxStreamsFieldBuilder().addBuilder( + com.google.cloud.video.transcoder.v1.MuxStream.getDefaultInstance()); } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4; */ - public com.google.cloud.video.transcoder.v1.MuxStream.Builder addMuxStreamsBuilder(int index) { - return getMuxStreamsFieldBuilder() - .addBuilder(index, com.google.cloud.video.transcoder.v1.MuxStream.getDefaultInstance()); + public com.google.cloud.video.transcoder.v1.MuxStream.Builder addMuxStreamsBuilder( + int index) { + return getMuxStreamsFieldBuilder().addBuilder( + index, com.google.cloud.video.transcoder.v1.MuxStream.getDefaultInstance()); } /** - * - * *
      * List of multiplexing settings for output streams.
      * 
* * repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4; */ - public java.util.List - getMuxStreamsBuilderList() { + public java.util.List + getMuxStreamsBuilderList() { return getMuxStreamsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.MuxStream, - com.google.cloud.video.transcoder.v1.MuxStream.Builder, - com.google.cloud.video.transcoder.v1.MuxStreamOrBuilder> + com.google.cloud.video.transcoder.v1.MuxStream, com.google.cloud.video.transcoder.v1.MuxStream.Builder, com.google.cloud.video.transcoder.v1.MuxStreamOrBuilder> getMuxStreamsFieldBuilder() { if (muxStreamsBuilder_ == null) { - muxStreamsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.MuxStream, - com.google.cloud.video.transcoder.v1.MuxStream.Builder, - com.google.cloud.video.transcoder.v1.MuxStreamOrBuilder>( - muxStreams_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + muxStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.transcoder.v1.MuxStream, com.google.cloud.video.transcoder.v1.MuxStream.Builder, com.google.cloud.video.transcoder.v1.MuxStreamOrBuilder>( + muxStreams_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); muxStreams_ = null; } return muxStreamsBuilder_; } private java.util.List manifests_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureManifestsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - manifests_ = - new java.util.ArrayList(manifests_); + manifests_ = new java.util.ArrayList(manifests_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Manifest, - com.google.cloud.video.transcoder.v1.Manifest.Builder, - com.google.cloud.video.transcoder.v1.ManifestOrBuilder> - manifestsBuilder_; + com.google.cloud.video.transcoder.v1.Manifest, com.google.cloud.video.transcoder.v1.Manifest.Builder, com.google.cloud.video.transcoder.v1.ManifestOrBuilder> manifestsBuilder_; /** - * - * *
      * List of output manifests.
      * 
@@ -3219,8 +2872,6 @@ public java.util.List getManifest } } /** - * - * *
      * List of output manifests.
      * 
@@ -3235,8 +2886,6 @@ public int getManifestsCount() { } } /** - * - * *
      * List of output manifests.
      * 
@@ -3251,15 +2900,14 @@ public com.google.cloud.video.transcoder.v1.Manifest getManifests(int index) { } } /** - * - * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5; */ - public Builder setManifests(int index, com.google.cloud.video.transcoder.v1.Manifest value) { + public Builder setManifests( + int index, com.google.cloud.video.transcoder.v1.Manifest value) { if (manifestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3273,8 +2921,6 @@ public Builder setManifests(int index, com.google.cloud.video.transcoder.v1.Mani return this; } /** - * - * *
      * List of output manifests.
      * 
@@ -3293,8 +2939,6 @@ public Builder setManifests( return this; } /** - * - * *
      * List of output manifests.
      * 
@@ -3315,15 +2959,14 @@ public Builder addManifests(com.google.cloud.video.transcoder.v1.Manifest value) return this; } /** - * - * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5; */ - public Builder addManifests(int index, com.google.cloud.video.transcoder.v1.Manifest value) { + public Builder addManifests( + int index, com.google.cloud.video.transcoder.v1.Manifest value) { if (manifestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3337,8 +2980,6 @@ public Builder addManifests(int index, com.google.cloud.video.transcoder.v1.Mani return this; } /** - * - * *
      * List of output manifests.
      * 
@@ -3357,8 +2998,6 @@ public Builder addManifests( return this; } /** - * - * *
      * List of output manifests.
      * 
@@ -3377,8 +3016,6 @@ public Builder addManifests( return this; } /** - * - * *
      * List of output manifests.
      * 
@@ -3389,7 +3026,8 @@ public Builder addAllManifests( java.lang.Iterable values) { if (manifestsBuilder_ == null) { ensureManifestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, manifests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, manifests_); onChanged(); } else { manifestsBuilder_.addAllMessages(values); @@ -3397,8 +3035,6 @@ public Builder addAllManifests( return this; } /** - * - * *
      * List of output manifests.
      * 
@@ -3416,8 +3052,6 @@ public Builder clearManifests() { return this; } /** - * - * *
      * List of output manifests.
      * 
@@ -3435,44 +3069,39 @@ public Builder removeManifests(int index) { return this; } /** - * - * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5; */ - public com.google.cloud.video.transcoder.v1.Manifest.Builder getManifestsBuilder(int index) { + public com.google.cloud.video.transcoder.v1.Manifest.Builder getManifestsBuilder( + int index) { return getManifestsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5; */ - public com.google.cloud.video.transcoder.v1.ManifestOrBuilder getManifestsOrBuilder(int index) { + public com.google.cloud.video.transcoder.v1.ManifestOrBuilder getManifestsOrBuilder( + int index) { if (manifestsBuilder_ == null) { - return manifests_.get(index); - } else { + return manifests_.get(index); } else { return manifestsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5; */ - public java.util.List - getManifestsOrBuilderList() { + public java.util.List + getManifestsOrBuilderList() { if (manifestsBuilder_ != null) { return manifestsBuilder_.getMessageOrBuilderList(); } else { @@ -3480,8 +3109,6 @@ public com.google.cloud.video.transcoder.v1.ManifestOrBuilder getManifestsOrBuil } } /** - * - * *
      * List of output manifests.
      * 
@@ -3489,48 +3116,42 @@ public com.google.cloud.video.transcoder.v1.ManifestOrBuilder getManifestsOrBuil * repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5; */ public com.google.cloud.video.transcoder.v1.Manifest.Builder addManifestsBuilder() { - return getManifestsFieldBuilder() - .addBuilder(com.google.cloud.video.transcoder.v1.Manifest.getDefaultInstance()); + return getManifestsFieldBuilder().addBuilder( + com.google.cloud.video.transcoder.v1.Manifest.getDefaultInstance()); } /** - * - * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5; */ - public com.google.cloud.video.transcoder.v1.Manifest.Builder addManifestsBuilder(int index) { - return getManifestsFieldBuilder() - .addBuilder(index, com.google.cloud.video.transcoder.v1.Manifest.getDefaultInstance()); + public com.google.cloud.video.transcoder.v1.Manifest.Builder addManifestsBuilder( + int index) { + return getManifestsFieldBuilder().addBuilder( + index, com.google.cloud.video.transcoder.v1.Manifest.getDefaultInstance()); } /** - * - * *
      * List of output manifests.
      * 
* * repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5; */ - public java.util.List - getManifestsBuilderList() { + public java.util.List + getManifestsBuilderList() { return getManifestsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Manifest, - com.google.cloud.video.transcoder.v1.Manifest.Builder, - com.google.cloud.video.transcoder.v1.ManifestOrBuilder> + com.google.cloud.video.transcoder.v1.Manifest, com.google.cloud.video.transcoder.v1.Manifest.Builder, com.google.cloud.video.transcoder.v1.ManifestOrBuilder> getManifestsFieldBuilder() { if (manifestsBuilder_ == null) { - manifestsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Manifest, - com.google.cloud.video.transcoder.v1.Manifest.Builder, - com.google.cloud.video.transcoder.v1.ManifestOrBuilder>( - manifests_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); + manifestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.transcoder.v1.Manifest, com.google.cloud.video.transcoder.v1.Manifest.Builder, com.google.cloud.video.transcoder.v1.ManifestOrBuilder>( + manifests_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); manifests_ = null; } return manifestsBuilder_; @@ -3538,47 +3159,34 @@ public com.google.cloud.video.transcoder.v1.Manifest.Builder addManifestsBuilder private com.google.cloud.video.transcoder.v1.Output output_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Output, - com.google.cloud.video.transcoder.v1.Output.Builder, - com.google.cloud.video.transcoder.v1.OutputOrBuilder> - outputBuilder_; + com.google.cloud.video.transcoder.v1.Output, com.google.cloud.video.transcoder.v1.Output.Builder, com.google.cloud.video.transcoder.v1.OutputOrBuilder> outputBuilder_; /** - * - * *
      * Output configuration.
      * 
* * .google.cloud.video.transcoder.v1.Output output = 6; - * * @return Whether the output field is set. */ public boolean hasOutput() { return outputBuilder_ != null || output_ != null; } /** - * - * *
      * Output configuration.
      * 
* * .google.cloud.video.transcoder.v1.Output output = 6; - * * @return The output. */ public com.google.cloud.video.transcoder.v1.Output getOutput() { if (outputBuilder_ == null) { - return output_ == null - ? com.google.cloud.video.transcoder.v1.Output.getDefaultInstance() - : output_; + return output_ == null ? com.google.cloud.video.transcoder.v1.Output.getDefaultInstance() : output_; } else { return outputBuilder_.getMessage(); } } /** - * - * *
      * Output configuration.
      * 
@@ -3599,15 +3207,14 @@ public Builder setOutput(com.google.cloud.video.transcoder.v1.Output value) { return this; } /** - * - * *
      * Output configuration.
      * 
* * .google.cloud.video.transcoder.v1.Output output = 6; */ - public Builder setOutput(com.google.cloud.video.transcoder.v1.Output.Builder builderForValue) { + public Builder setOutput( + com.google.cloud.video.transcoder.v1.Output.Builder builderForValue) { if (outputBuilder_ == null) { output_ = builderForValue.build(); onChanged(); @@ -3618,8 +3225,6 @@ public Builder setOutput(com.google.cloud.video.transcoder.v1.Output.Builder bui return this; } /** - * - * *
      * Output configuration.
      * 
@@ -3630,9 +3235,7 @@ public Builder mergeOutput(com.google.cloud.video.transcoder.v1.Output value) { if (outputBuilder_ == null) { if (output_ != null) { output_ = - com.google.cloud.video.transcoder.v1.Output.newBuilder(output_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.transcoder.v1.Output.newBuilder(output_).mergeFrom(value).buildPartial(); } else { output_ = value; } @@ -3644,8 +3247,6 @@ public Builder mergeOutput(com.google.cloud.video.transcoder.v1.Output value) { return this; } /** - * - * *
      * Output configuration.
      * 
@@ -3664,8 +3265,6 @@ public Builder clearOutput() { return this; } /** - * - * *
      * Output configuration.
      * 
@@ -3673,13 +3272,11 @@ public Builder clearOutput() { * .google.cloud.video.transcoder.v1.Output output = 6; */ public com.google.cloud.video.transcoder.v1.Output.Builder getOutputBuilder() { - + onChanged(); return getOutputFieldBuilder().getBuilder(); } /** - * - * *
      * Output configuration.
      * 
@@ -3690,14 +3287,11 @@ public com.google.cloud.video.transcoder.v1.OutputOrBuilder getOutputOrBuilder() if (outputBuilder_ != null) { return outputBuilder_.getMessageOrBuilder(); } else { - return output_ == null - ? com.google.cloud.video.transcoder.v1.Output.getDefaultInstance() - : output_; + return output_ == null ? + com.google.cloud.video.transcoder.v1.Output.getDefaultInstance() : output_; } } /** - * - * *
      * Output configuration.
      * 
@@ -3705,42 +3299,32 @@ public com.google.cloud.video.transcoder.v1.OutputOrBuilder getOutputOrBuilder() * .google.cloud.video.transcoder.v1.Output output = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Output, - com.google.cloud.video.transcoder.v1.Output.Builder, - com.google.cloud.video.transcoder.v1.OutputOrBuilder> + com.google.cloud.video.transcoder.v1.Output, com.google.cloud.video.transcoder.v1.Output.Builder, com.google.cloud.video.transcoder.v1.OutputOrBuilder> getOutputFieldBuilder() { if (outputBuilder_ == null) { - outputBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Output, - com.google.cloud.video.transcoder.v1.Output.Builder, - com.google.cloud.video.transcoder.v1.OutputOrBuilder>( - getOutput(), getParentForChildren(), isClean()); + outputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.transcoder.v1.Output, com.google.cloud.video.transcoder.v1.Output.Builder, com.google.cloud.video.transcoder.v1.OutputOrBuilder>( + getOutput(), + getParentForChildren(), + isClean()); output_ = null; } return outputBuilder_; } private java.util.List adBreaks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAdBreaksIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - adBreaks_ = - new java.util.ArrayList(adBreaks_); + adBreaks_ = new java.util.ArrayList(adBreaks_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.AdBreak, - com.google.cloud.video.transcoder.v1.AdBreak.Builder, - com.google.cloud.video.transcoder.v1.AdBreakOrBuilder> - adBreaksBuilder_; + com.google.cloud.video.transcoder.v1.AdBreak, com.google.cloud.video.transcoder.v1.AdBreak.Builder, com.google.cloud.video.transcoder.v1.AdBreakOrBuilder> adBreaksBuilder_; /** - * - * *
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -3756,8 +3340,6 @@ public java.util.List getAdBreaksL
       }
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -3773,8 +3355,6 @@ public int getAdBreaksCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -3790,8 +3370,6 @@ public com.google.cloud.video.transcoder.v1.AdBreak getAdBreaks(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -3799,7 +3377,8 @@ public com.google.cloud.video.transcoder.v1.AdBreak getAdBreaks(int index) {
      *
      * repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
      */
-    public Builder setAdBreaks(int index, com.google.cloud.video.transcoder.v1.AdBreak value) {
+    public Builder setAdBreaks(
+        int index, com.google.cloud.video.transcoder.v1.AdBreak value) {
       if (adBreaksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3813,8 +3392,6 @@ public Builder setAdBreaks(int index, com.google.cloud.video.transcoder.v1.AdBre
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -3834,8 +3411,6 @@ public Builder setAdBreaks(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -3857,8 +3432,6 @@ public Builder addAdBreaks(com.google.cloud.video.transcoder.v1.AdBreak value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -3866,7 +3439,8 @@ public Builder addAdBreaks(com.google.cloud.video.transcoder.v1.AdBreak value) {
      *
      * repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
      */
-    public Builder addAdBreaks(int index, com.google.cloud.video.transcoder.v1.AdBreak value) {
+    public Builder addAdBreaks(
+        int index, com.google.cloud.video.transcoder.v1.AdBreak value) {
       if (adBreaksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3880,8 +3454,6 @@ public Builder addAdBreaks(int index, com.google.cloud.video.transcoder.v1.AdBre
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -3901,8 +3473,6 @@ public Builder addAdBreaks(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -3922,8 +3492,6 @@ public Builder addAdBreaks(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -3935,7 +3503,8 @@ public Builder addAllAdBreaks(
         java.lang.Iterable values) {
       if (adBreaksBuilder_ == null) {
         ensureAdBreaksIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adBreaks_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, adBreaks_);
         onChanged();
       } else {
         adBreaksBuilder_.addAllMessages(values);
@@ -3943,8 +3512,6 @@ public Builder addAllAdBreaks(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -3963,8 +3530,6 @@ public Builder clearAdBreaks() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -3983,8 +3548,6 @@ public Builder removeAdBreaks(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -3992,12 +3555,11 @@ public Builder removeAdBreaks(int index) {
      *
      * repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
      */
-    public com.google.cloud.video.transcoder.v1.AdBreak.Builder getAdBreaksBuilder(int index) {
+    public com.google.cloud.video.transcoder.v1.AdBreak.Builder getAdBreaksBuilder(
+        int index) {
       return getAdBreaksFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -4005,16 +3567,14 @@ public com.google.cloud.video.transcoder.v1.AdBreak.Builder getAdBreaksBuilder(i
      *
      * repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
      */
-    public com.google.cloud.video.transcoder.v1.AdBreakOrBuilder getAdBreaksOrBuilder(int index) {
+    public com.google.cloud.video.transcoder.v1.AdBreakOrBuilder getAdBreaksOrBuilder(
+        int index) {
       if (adBreaksBuilder_ == null) {
-        return adBreaks_.get(index);
-      } else {
+        return adBreaks_.get(index);  } else {
         return adBreaksBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -4022,8 +3582,8 @@ public com.google.cloud.video.transcoder.v1.AdBreakOrBuilder getAdBreaksOrBuilde
      *
      * repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
      */
-    public java.util.List
-        getAdBreaksOrBuilderList() {
+    public java.util.List 
+         getAdBreaksOrBuilderList() {
       if (adBreaksBuilder_ != null) {
         return adBreaksBuilder_.getMessageOrBuilderList();
       } else {
@@ -4031,8 +3591,6 @@ public com.google.cloud.video.transcoder.v1.AdBreakOrBuilder getAdBreaksOrBuilde
       }
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -4041,12 +3599,10 @@ public com.google.cloud.video.transcoder.v1.AdBreakOrBuilder getAdBreaksOrBuilde
      * repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
      */
     public com.google.cloud.video.transcoder.v1.AdBreak.Builder addAdBreaksBuilder() {
-      return getAdBreaksFieldBuilder()
-          .addBuilder(com.google.cloud.video.transcoder.v1.AdBreak.getDefaultInstance());
+      return getAdBreaksFieldBuilder().addBuilder(
+          com.google.cloud.video.transcoder.v1.AdBreak.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -4054,13 +3610,12 @@ public com.google.cloud.video.transcoder.v1.AdBreak.Builder addAdBreaksBuilder()
      *
      * repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
      */
-    public com.google.cloud.video.transcoder.v1.AdBreak.Builder addAdBreaksBuilder(int index) {
-      return getAdBreaksFieldBuilder()
-          .addBuilder(index, com.google.cloud.video.transcoder.v1.AdBreak.getDefaultInstance());
+    public com.google.cloud.video.transcoder.v1.AdBreak.Builder addAdBreaksBuilder(
+        int index) {
+      return getAdBreaksFieldBuilder().addBuilder(
+          index, com.google.cloud.video.transcoder.v1.AdBreak.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of ad breaks. Specifies where to insert ad break tags in the output
      * manifests.
@@ -4068,23 +3623,20 @@ public com.google.cloud.video.transcoder.v1.AdBreak.Builder addAdBreaksBuilder(i
      *
      * repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
      */
-    public java.util.List
-        getAdBreaksBuilderList() {
+    public java.util.List 
+         getAdBreaksBuilderList() {
       return getAdBreaksFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.video.transcoder.v1.AdBreak,
-            com.google.cloud.video.transcoder.v1.AdBreak.Builder,
-            com.google.cloud.video.transcoder.v1.AdBreakOrBuilder>
+        com.google.cloud.video.transcoder.v1.AdBreak, com.google.cloud.video.transcoder.v1.AdBreak.Builder, com.google.cloud.video.transcoder.v1.AdBreakOrBuilder> 
         getAdBreaksFieldBuilder() {
       if (adBreaksBuilder_ == null) {
-        adBreaksBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.video.transcoder.v1.AdBreak,
-                com.google.cloud.video.transcoder.v1.AdBreak.Builder,
-                com.google.cloud.video.transcoder.v1.AdBreakOrBuilder>(
-                adBreaks_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
+        adBreaksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.video.transcoder.v1.AdBreak, com.google.cloud.video.transcoder.v1.AdBreak.Builder, com.google.cloud.video.transcoder.v1.AdBreakOrBuilder>(
+                adBreaks_,
+                ((bitField0_ & 0x00000020) != 0),
+                getParentForChildren(),
+                isClean());
         adBreaks_ = null;
       }
       return adBreaksBuilder_;
@@ -4092,55 +3644,41 @@ public com.google.cloud.video.transcoder.v1.AdBreak.Builder addAdBreaksBuilder(i
 
     private com.google.cloud.video.transcoder.v1.PubsubDestination pubsubDestination_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.video.transcoder.v1.PubsubDestination,
-            com.google.cloud.video.transcoder.v1.PubsubDestination.Builder,
-            com.google.cloud.video.transcoder.v1.PubsubDestinationOrBuilder>
-        pubsubDestinationBuilder_;
+        com.google.cloud.video.transcoder.v1.PubsubDestination, com.google.cloud.video.transcoder.v1.PubsubDestination.Builder, com.google.cloud.video.transcoder.v1.PubsubDestinationOrBuilder> pubsubDestinationBuilder_;
     /**
-     *
-     *
      * 
      * Destination on Pub/Sub.
      * 
* * .google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8; - * * @return Whether the pubsubDestination field is set. */ public boolean hasPubsubDestination() { return pubsubDestinationBuilder_ != null || pubsubDestination_ != null; } /** - * - * *
      * Destination on Pub/Sub.
      * 
* * .google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8; - * * @return The pubsubDestination. */ public com.google.cloud.video.transcoder.v1.PubsubDestination getPubsubDestination() { if (pubsubDestinationBuilder_ == null) { - return pubsubDestination_ == null - ? com.google.cloud.video.transcoder.v1.PubsubDestination.getDefaultInstance() - : pubsubDestination_; + return pubsubDestination_ == null ? com.google.cloud.video.transcoder.v1.PubsubDestination.getDefaultInstance() : pubsubDestination_; } else { return pubsubDestinationBuilder_.getMessage(); } } /** - * - * *
      * Destination on Pub/Sub.
      * 
* * .google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8; */ - public Builder setPubsubDestination( - com.google.cloud.video.transcoder.v1.PubsubDestination value) { + public Builder setPubsubDestination(com.google.cloud.video.transcoder.v1.PubsubDestination value) { if (pubsubDestinationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4154,8 +3692,6 @@ public Builder setPubsubDestination( return this; } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -4174,22 +3710,17 @@ public Builder setPubsubDestination( return this; } /** - * - * *
      * Destination on Pub/Sub.
      * 
* * .google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8; */ - public Builder mergePubsubDestination( - com.google.cloud.video.transcoder.v1.PubsubDestination value) { + public Builder mergePubsubDestination(com.google.cloud.video.transcoder.v1.PubsubDestination value) { if (pubsubDestinationBuilder_ == null) { if (pubsubDestination_ != null) { pubsubDestination_ = - com.google.cloud.video.transcoder.v1.PubsubDestination.newBuilder(pubsubDestination_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.transcoder.v1.PubsubDestination.newBuilder(pubsubDestination_).mergeFrom(value).buildPartial(); } else { pubsubDestination_ = value; } @@ -4201,8 +3732,6 @@ public Builder mergePubsubDestination( return this; } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -4221,42 +3750,33 @@ public Builder clearPubsubDestination() { return this; } /** - * - * *
      * Destination on Pub/Sub.
      * 
* * .google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8; */ - public com.google.cloud.video.transcoder.v1.PubsubDestination.Builder - getPubsubDestinationBuilder() { - + public com.google.cloud.video.transcoder.v1.PubsubDestination.Builder getPubsubDestinationBuilder() { + onChanged(); return getPubsubDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Destination on Pub/Sub.
      * 
* * .google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8; */ - public com.google.cloud.video.transcoder.v1.PubsubDestinationOrBuilder - getPubsubDestinationOrBuilder() { + public com.google.cloud.video.transcoder.v1.PubsubDestinationOrBuilder getPubsubDestinationOrBuilder() { if (pubsubDestinationBuilder_ != null) { return pubsubDestinationBuilder_.getMessageOrBuilder(); } else { - return pubsubDestination_ == null - ? com.google.cloud.video.transcoder.v1.PubsubDestination.getDefaultInstance() - : pubsubDestination_; + return pubsubDestination_ == null ? + com.google.cloud.video.transcoder.v1.PubsubDestination.getDefaultInstance() : pubsubDestination_; } } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -4264,43 +3784,32 @@ public Builder clearPubsubDestination() { * .google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.PubsubDestination, - com.google.cloud.video.transcoder.v1.PubsubDestination.Builder, - com.google.cloud.video.transcoder.v1.PubsubDestinationOrBuilder> + com.google.cloud.video.transcoder.v1.PubsubDestination, com.google.cloud.video.transcoder.v1.PubsubDestination.Builder, com.google.cloud.video.transcoder.v1.PubsubDestinationOrBuilder> getPubsubDestinationFieldBuilder() { if (pubsubDestinationBuilder_ == null) { - pubsubDestinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.PubsubDestination, - com.google.cloud.video.transcoder.v1.PubsubDestination.Builder, - com.google.cloud.video.transcoder.v1.PubsubDestinationOrBuilder>( - getPubsubDestination(), getParentForChildren(), isClean()); + pubsubDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.transcoder.v1.PubsubDestination, com.google.cloud.video.transcoder.v1.PubsubDestination.Builder, com.google.cloud.video.transcoder.v1.PubsubDestinationOrBuilder>( + getPubsubDestination(), + getParentForChildren(), + isClean()); pubsubDestination_ = null; } return pubsubDestinationBuilder_; } private java.util.List spriteSheets_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSpriteSheetsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { - spriteSheets_ = - new java.util.ArrayList( - spriteSheets_); + spriteSheets_ = new java.util.ArrayList(spriteSheets_); bitField0_ |= 0x00000040; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.SpriteSheet, - com.google.cloud.video.transcoder.v1.SpriteSheet.Builder, - com.google.cloud.video.transcoder.v1.SpriteSheetOrBuilder> - spriteSheetsBuilder_; + com.google.cloud.video.transcoder.v1.SpriteSheet, com.google.cloud.video.transcoder.v1.SpriteSheet.Builder, com.google.cloud.video.transcoder.v1.SpriteSheetOrBuilder> spriteSheetsBuilder_; /** - * - * *
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4316,8 +3825,6 @@ public java.util.List getSprit
       }
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4333,8 +3840,6 @@ public int getSpriteSheetsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4350,8 +3855,6 @@ public com.google.cloud.video.transcoder.v1.SpriteSheet getSpriteSheets(int inde
       }
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4374,8 +3877,6 @@ public Builder setSpriteSheets(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4395,8 +3896,6 @@ public Builder setSpriteSheets(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4418,8 +3917,6 @@ public Builder addSpriteSheets(com.google.cloud.video.transcoder.v1.SpriteSheet
       return this;
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4442,8 +3939,6 @@ public Builder addSpriteSheets(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4463,8 +3958,6 @@ public Builder addSpriteSheets(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4484,8 +3977,6 @@ public Builder addSpriteSheets(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4497,7 +3988,8 @@ public Builder addAllSpriteSheets(
         java.lang.Iterable values) {
       if (spriteSheetsBuilder_ == null) {
         ensureSpriteSheetsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, spriteSheets_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, spriteSheets_);
         onChanged();
       } else {
         spriteSheetsBuilder_.addAllMessages(values);
@@ -4505,8 +3997,6 @@ public Builder addAllSpriteSheets(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4525,8 +4015,6 @@ public Builder clearSpriteSheets() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4545,8 +4033,6 @@ public Builder removeSpriteSheets(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4559,8 +4045,6 @@ public com.google.cloud.video.transcoder.v1.SpriteSheet.Builder getSpriteSheetsB
       return getSpriteSheetsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4571,14 +4055,11 @@ public com.google.cloud.video.transcoder.v1.SpriteSheet.Builder getSpriteSheetsB
     public com.google.cloud.video.transcoder.v1.SpriteSheetOrBuilder getSpriteSheetsOrBuilder(
         int index) {
       if (spriteSheetsBuilder_ == null) {
-        return spriteSheets_.get(index);
-      } else {
+        return spriteSheets_.get(index);  } else {
         return spriteSheetsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4586,8 +4067,8 @@ public com.google.cloud.video.transcoder.v1.SpriteSheetOrBuilder getSpriteSheets
      *
      * repeated .google.cloud.video.transcoder.v1.SpriteSheet sprite_sheets = 9;
      */
-    public java.util.List
-        getSpriteSheetsOrBuilderList() {
+    public java.util.List 
+         getSpriteSheetsOrBuilderList() {
       if (spriteSheetsBuilder_ != null) {
         return spriteSheetsBuilder_.getMessageOrBuilderList();
       } else {
@@ -4595,8 +4076,6 @@ public com.google.cloud.video.transcoder.v1.SpriteSheetOrBuilder getSpriteSheets
       }
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4605,12 +4084,10 @@ public com.google.cloud.video.transcoder.v1.SpriteSheetOrBuilder getSpriteSheets
      * repeated .google.cloud.video.transcoder.v1.SpriteSheet sprite_sheets = 9;
      */
     public com.google.cloud.video.transcoder.v1.SpriteSheet.Builder addSpriteSheetsBuilder() {
-      return getSpriteSheetsFieldBuilder()
-          .addBuilder(com.google.cloud.video.transcoder.v1.SpriteSheet.getDefaultInstance());
+      return getSpriteSheetsFieldBuilder().addBuilder(
+          com.google.cloud.video.transcoder.v1.SpriteSheet.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4620,12 +4097,10 @@ public com.google.cloud.video.transcoder.v1.SpriteSheet.Builder addSpriteSheetsB
      */
     public com.google.cloud.video.transcoder.v1.SpriteSheet.Builder addSpriteSheetsBuilder(
         int index) {
-      return getSpriteSheetsFieldBuilder()
-          .addBuilder(index, com.google.cloud.video.transcoder.v1.SpriteSheet.getDefaultInstance());
+      return getSpriteSheetsFieldBuilder().addBuilder(
+          index, com.google.cloud.video.transcoder.v1.SpriteSheet.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of output sprite sheets.
      * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -4633,48 +4108,38 @@ public com.google.cloud.video.transcoder.v1.SpriteSheet.Builder addSpriteSheetsB
      *
      * repeated .google.cloud.video.transcoder.v1.SpriteSheet sprite_sheets = 9;
      */
-    public java.util.List
-        getSpriteSheetsBuilderList() {
+    public java.util.List 
+         getSpriteSheetsBuilderList() {
       return getSpriteSheetsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.video.transcoder.v1.SpriteSheet,
-            com.google.cloud.video.transcoder.v1.SpriteSheet.Builder,
-            com.google.cloud.video.transcoder.v1.SpriteSheetOrBuilder>
+        com.google.cloud.video.transcoder.v1.SpriteSheet, com.google.cloud.video.transcoder.v1.SpriteSheet.Builder, com.google.cloud.video.transcoder.v1.SpriteSheetOrBuilder> 
         getSpriteSheetsFieldBuilder() {
       if (spriteSheetsBuilder_ == null) {
-        spriteSheetsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.video.transcoder.v1.SpriteSheet,
-                com.google.cloud.video.transcoder.v1.SpriteSheet.Builder,
-                com.google.cloud.video.transcoder.v1.SpriteSheetOrBuilder>(
-                spriteSheets_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean());
+        spriteSheetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.video.transcoder.v1.SpriteSheet, com.google.cloud.video.transcoder.v1.SpriteSheet.Builder, com.google.cloud.video.transcoder.v1.SpriteSheetOrBuilder>(
+                spriteSheets_,
+                ((bitField0_ & 0x00000040) != 0),
+                getParentForChildren(),
+                isClean());
         spriteSheets_ = null;
       }
       return spriteSheetsBuilder_;
     }
 
     private java.util.List overlays_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureOverlaysIsMutable() {
       if (!((bitField0_ & 0x00000080) != 0)) {
-        overlays_ =
-            new java.util.ArrayList(overlays_);
+        overlays_ = new java.util.ArrayList(overlays_);
         bitField0_ |= 0x00000080;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.video.transcoder.v1.Overlay,
-            com.google.cloud.video.transcoder.v1.Overlay.Builder,
-            com.google.cloud.video.transcoder.v1.OverlayOrBuilder>
-        overlaysBuilder_;
+        com.google.cloud.video.transcoder.v1.Overlay, com.google.cloud.video.transcoder.v1.Overlay.Builder, com.google.cloud.video.transcoder.v1.OverlayOrBuilder> overlaysBuilder_;
 
     /**
-     *
-     *
      * 
      * List of overlays on the output video, in descending Z-order.
      * 
@@ -4689,8 +4154,6 @@ public java.util.List getOverlaysL } } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
@@ -4705,8 +4168,6 @@ public int getOverlaysCount() { } } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
@@ -4721,15 +4182,14 @@ public com.google.cloud.video.transcoder.v1.Overlay getOverlays(int index) { } } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
* * repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10; */ - public Builder setOverlays(int index, com.google.cloud.video.transcoder.v1.Overlay value) { + public Builder setOverlays( + int index, com.google.cloud.video.transcoder.v1.Overlay value) { if (overlaysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4743,8 +4203,6 @@ public Builder setOverlays(int index, com.google.cloud.video.transcoder.v1.Overl return this; } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
@@ -4763,8 +4221,6 @@ public Builder setOverlays( return this; } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
@@ -4785,15 +4241,14 @@ public Builder addOverlays(com.google.cloud.video.transcoder.v1.Overlay value) { return this; } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
* * repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10; */ - public Builder addOverlays(int index, com.google.cloud.video.transcoder.v1.Overlay value) { + public Builder addOverlays( + int index, com.google.cloud.video.transcoder.v1.Overlay value) { if (overlaysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4807,8 +4262,6 @@ public Builder addOverlays(int index, com.google.cloud.video.transcoder.v1.Overl return this; } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
@@ -4827,8 +4280,6 @@ public Builder addOverlays( return this; } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
@@ -4847,8 +4298,6 @@ public Builder addOverlays( return this; } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
@@ -4859,7 +4308,8 @@ public Builder addAllOverlays( java.lang.Iterable values) { if (overlaysBuilder_ == null) { ensureOverlaysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, overlays_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, overlays_); onChanged(); } else { overlaysBuilder_.addAllMessages(values); @@ -4867,8 +4317,6 @@ public Builder addAllOverlays( return this; } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
@@ -4886,8 +4334,6 @@ public Builder clearOverlays() { return this; } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
@@ -4905,44 +4351,39 @@ public Builder removeOverlays(int index) { return this; } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
* * repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10; */ - public com.google.cloud.video.transcoder.v1.Overlay.Builder getOverlaysBuilder(int index) { + public com.google.cloud.video.transcoder.v1.Overlay.Builder getOverlaysBuilder( + int index) { return getOverlaysFieldBuilder().getBuilder(index); } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
* * repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10; */ - public com.google.cloud.video.transcoder.v1.OverlayOrBuilder getOverlaysOrBuilder(int index) { + public com.google.cloud.video.transcoder.v1.OverlayOrBuilder getOverlaysOrBuilder( + int index) { if (overlaysBuilder_ == null) { - return overlays_.get(index); - } else { + return overlays_.get(index); } else { return overlaysBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
* * repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10; */ - public java.util.List - getOverlaysOrBuilderList() { + public java.util.List + getOverlaysOrBuilderList() { if (overlaysBuilder_ != null) { return overlaysBuilder_.getMessageOrBuilderList(); } else { @@ -4950,8 +4391,6 @@ public com.google.cloud.video.transcoder.v1.OverlayOrBuilder getOverlaysOrBuilde } } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
@@ -4959,55 +4398,49 @@ public com.google.cloud.video.transcoder.v1.OverlayOrBuilder getOverlaysOrBuilde * repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10; */ public com.google.cloud.video.transcoder.v1.Overlay.Builder addOverlaysBuilder() { - return getOverlaysFieldBuilder() - .addBuilder(com.google.cloud.video.transcoder.v1.Overlay.getDefaultInstance()); + return getOverlaysFieldBuilder().addBuilder( + com.google.cloud.video.transcoder.v1.Overlay.getDefaultInstance()); } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
* * repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10; */ - public com.google.cloud.video.transcoder.v1.Overlay.Builder addOverlaysBuilder(int index) { - return getOverlaysFieldBuilder() - .addBuilder(index, com.google.cloud.video.transcoder.v1.Overlay.getDefaultInstance()); + public com.google.cloud.video.transcoder.v1.Overlay.Builder addOverlaysBuilder( + int index) { + return getOverlaysFieldBuilder().addBuilder( + index, com.google.cloud.video.transcoder.v1.Overlay.getDefaultInstance()); } /** - * - * *
      * List of overlays on the output video, in descending Z-order.
      * 
* * repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10; */ - public java.util.List - getOverlaysBuilderList() { + public java.util.List + getOverlaysBuilderList() { return getOverlaysFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay, - com.google.cloud.video.transcoder.v1.Overlay.Builder, - com.google.cloud.video.transcoder.v1.OverlayOrBuilder> + com.google.cloud.video.transcoder.v1.Overlay, com.google.cloud.video.transcoder.v1.Overlay.Builder, com.google.cloud.video.transcoder.v1.OverlayOrBuilder> getOverlaysFieldBuilder() { if (overlaysBuilder_ == null) { - overlaysBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay, - com.google.cloud.video.transcoder.v1.Overlay.Builder, - com.google.cloud.video.transcoder.v1.OverlayOrBuilder>( - overlays_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); + overlaysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.transcoder.v1.Overlay, com.google.cloud.video.transcoder.v1.Overlay.Builder, com.google.cloud.video.transcoder.v1.OverlayOrBuilder>( + overlays_, + ((bitField0_ & 0x00000080) != 0), + getParentForChildren(), + isClean()); overlays_ = null; } return overlaysBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5017,12 +4450,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.JobConfig) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.JobConfig) private static final com.google.cloud.video.transcoder.v1.JobConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.JobConfig(); } @@ -5031,16 +4464,16 @@ public static com.google.cloud.video.transcoder.v1.JobConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new JobConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new JobConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5055,4 +4488,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.JobConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobConfigOrBuilder.java similarity index 85% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobConfigOrBuilder.java index f9b3340a..63f136de 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobConfigOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; -public interface JobConfigOrBuilder - extends +public interface JobConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.JobConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of input assets stored in Cloud Storage.
    * 
* * repeated .google.cloud.video.transcoder.v1.Input inputs = 1; */ - java.util.List getInputsList(); + java.util.List + getInputsList(); /** - * - * *
    * List of input assets stored in Cloud Storage.
    * 
@@ -44,8 +25,6 @@ public interface JobConfigOrBuilder */ com.google.cloud.video.transcoder.v1.Input getInputs(int index); /** - * - * *
    * List of input assets stored in Cloud Storage.
    * 
@@ -54,30 +33,25 @@ public interface JobConfigOrBuilder */ int getInputsCount(); /** - * - * *
    * List of input assets stored in Cloud Storage.
    * 
* * repeated .google.cloud.video.transcoder.v1.Input inputs = 1; */ - java.util.List + java.util.List getInputsOrBuilderList(); /** - * - * *
    * List of input assets stored in Cloud Storage.
    * 
* * repeated .google.cloud.video.transcoder.v1.Input inputs = 1; */ - com.google.cloud.video.transcoder.v1.InputOrBuilder getInputsOrBuilder(int index); + com.google.cloud.video.transcoder.v1.InputOrBuilder getInputsOrBuilder( + int index); /** - * - * *
    * List of `Edit atom`s. Defines the ultimate timeline of the resulting
    * file or manifest.
@@ -85,10 +59,9 @@ public interface JobConfigOrBuilder
    *
    * repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
    */
-  java.util.List getEditListList();
+  java.util.List 
+      getEditListList();
   /**
-   *
-   *
    * 
    * List of `Edit atom`s. Defines the ultimate timeline of the resulting
    * file or manifest.
@@ -98,8 +71,6 @@ public interface JobConfigOrBuilder
    */
   com.google.cloud.video.transcoder.v1.EditAtom getEditList(int index);
   /**
-   *
-   *
    * 
    * List of `Edit atom`s. Defines the ultimate timeline of the resulting
    * file or manifest.
@@ -109,8 +80,6 @@ public interface JobConfigOrBuilder
    */
   int getEditListCount();
   /**
-   *
-   *
    * 
    * List of `Edit atom`s. Defines the ultimate timeline of the resulting
    * file or manifest.
@@ -118,11 +87,9 @@ public interface JobConfigOrBuilder
    *
    * repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
    */
-  java.util.List
+  java.util.List 
       getEditListOrBuilderList();
   /**
-   *
-   *
    * 
    * List of `Edit atom`s. Defines the ultimate timeline of the resulting
    * file or manifest.
@@ -130,79 +97,63 @@ public interface JobConfigOrBuilder
    *
    * repeated .google.cloud.video.transcoder.v1.EditAtom edit_list = 2;
    */
-  com.google.cloud.video.transcoder.v1.EditAtomOrBuilder getEditListOrBuilder(int index);
+  com.google.cloud.video.transcoder.v1.EditAtomOrBuilder getEditListOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ - java.util.List getElementaryStreamsList(); + java.util.List + getElementaryStreamsList(); /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ com.google.cloud.video.transcoder.v1.ElementaryStream getElementaryStreams(int index); /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ int getElementaryStreamsCount(); /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ - java.util.List + java.util.List getElementaryStreamsOrBuilderList(); /** - * - * *
    * List of elementary streams.
    * 
* - * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; - * + * repeated .google.cloud.video.transcoder.v1.ElementaryStream elementary_streams = 3; */ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStreamsOrBuilder( int index); /** - * - * *
    * List of multiplexing settings for output streams.
    * 
* * repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4; */ - java.util.List getMuxStreamsList(); + java.util.List + getMuxStreamsList(); /** - * - * *
    * List of multiplexing settings for output streams.
    * 
@@ -211,8 +162,6 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre */ com.google.cloud.video.transcoder.v1.MuxStream getMuxStreams(int index); /** - * - * *
    * List of multiplexing settings for output streams.
    * 
@@ -221,40 +170,34 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre */ int getMuxStreamsCount(); /** - * - * *
    * List of multiplexing settings for output streams.
    * 
* * repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4; */ - java.util.List + java.util.List getMuxStreamsOrBuilderList(); /** - * - * *
    * List of multiplexing settings for output streams.
    * 
* * repeated .google.cloud.video.transcoder.v1.MuxStream mux_streams = 4; */ - com.google.cloud.video.transcoder.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder(int index); + com.google.cloud.video.transcoder.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder( + int index); /** - * - * *
    * List of output manifests.
    * 
* * repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5; */ - java.util.List getManifestsList(); + java.util.List + getManifestsList(); /** - * - * *
    * List of output manifests.
    * 
@@ -263,8 +206,6 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre */ com.google.cloud.video.transcoder.v1.Manifest getManifests(int index); /** - * - * *
    * List of output manifests.
    * 
@@ -273,54 +214,43 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre */ int getManifestsCount(); /** - * - * *
    * List of output manifests.
    * 
* * repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5; */ - java.util.List + java.util.List getManifestsOrBuilderList(); /** - * - * *
    * List of output manifests.
    * 
* * repeated .google.cloud.video.transcoder.v1.Manifest manifests = 5; */ - com.google.cloud.video.transcoder.v1.ManifestOrBuilder getManifestsOrBuilder(int index); + com.google.cloud.video.transcoder.v1.ManifestOrBuilder getManifestsOrBuilder( + int index); /** - * - * *
    * Output configuration.
    * 
* * .google.cloud.video.transcoder.v1.Output output = 6; - * * @return Whether the output field is set. */ boolean hasOutput(); /** - * - * *
    * Output configuration.
    * 
* * .google.cloud.video.transcoder.v1.Output output = 6; - * * @return The output. */ com.google.cloud.video.transcoder.v1.Output getOutput(); /** - * - * *
    * Output configuration.
    * 
@@ -330,8 +260,6 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre com.google.cloud.video.transcoder.v1.OutputOrBuilder getOutputOrBuilder(); /** - * - * *
    * List of ad breaks. Specifies where to insert ad break tags in the output
    * manifests.
@@ -339,10 +267,9 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre
    *
    * repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
    */
-  java.util.List getAdBreaksList();
+  java.util.List 
+      getAdBreaksList();
   /**
-   *
-   *
    * 
    * List of ad breaks. Specifies where to insert ad break tags in the output
    * manifests.
@@ -352,8 +279,6 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre
    */
   com.google.cloud.video.transcoder.v1.AdBreak getAdBreaks(int index);
   /**
-   *
-   *
    * 
    * List of ad breaks. Specifies where to insert ad break tags in the output
    * manifests.
@@ -363,8 +288,6 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre
    */
   int getAdBreaksCount();
   /**
-   *
-   *
    * 
    * List of ad breaks. Specifies where to insert ad break tags in the output
    * manifests.
@@ -372,11 +295,9 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre
    *
    * repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
    */
-  java.util.List
+  java.util.List 
       getAdBreaksOrBuilderList();
   /**
-   *
-   *
    * 
    * List of ad breaks. Specifies where to insert ad break tags in the output
    * manifests.
@@ -384,35 +305,28 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre
    *
    * repeated .google.cloud.video.transcoder.v1.AdBreak ad_breaks = 7;
    */
-  com.google.cloud.video.transcoder.v1.AdBreakOrBuilder getAdBreaksOrBuilder(int index);
+  com.google.cloud.video.transcoder.v1.AdBreakOrBuilder getAdBreaksOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Destination on Pub/Sub.
    * 
* * .google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8; - * * @return Whether the pubsubDestination field is set. */ boolean hasPubsubDestination(); /** - * - * *
    * Destination on Pub/Sub.
    * 
* * .google.cloud.video.transcoder.v1.PubsubDestination pubsub_destination = 8; - * * @return The pubsubDestination. */ com.google.cloud.video.transcoder.v1.PubsubDestination getPubsubDestination(); /** - * - * *
    * Destination on Pub/Sub.
    * 
@@ -422,8 +336,6 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre com.google.cloud.video.transcoder.v1.PubsubDestinationOrBuilder getPubsubDestinationOrBuilder(); /** - * - * *
    * List of output sprite sheets.
    * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -431,10 +343,9 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre
    *
    * repeated .google.cloud.video.transcoder.v1.SpriteSheet sprite_sheets = 9;
    */
-  java.util.List getSpriteSheetsList();
+  java.util.List 
+      getSpriteSheetsList();
   /**
-   *
-   *
    * 
    * List of output sprite sheets.
    * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -444,8 +355,6 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre
    */
   com.google.cloud.video.transcoder.v1.SpriteSheet getSpriteSheets(int index);
   /**
-   *
-   *
    * 
    * List of output sprite sheets.
    * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -455,8 +364,6 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre
    */
   int getSpriteSheetsCount();
   /**
-   *
-   *
    * 
    * List of output sprite sheets.
    * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -464,11 +371,9 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre
    *
    * repeated .google.cloud.video.transcoder.v1.SpriteSheet sprite_sheets = 9;
    */
-  java.util.List
+  java.util.List 
       getSpriteSheetsOrBuilderList();
   /**
-   *
-   *
    * 
    * List of output sprite sheets.
    * Spritesheets require at least one VideoStream in the Jobconfig.
@@ -476,21 +381,19 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre
    *
    * repeated .google.cloud.video.transcoder.v1.SpriteSheet sprite_sheets = 9;
    */
-  com.google.cloud.video.transcoder.v1.SpriteSheetOrBuilder getSpriteSheetsOrBuilder(int index);
+  com.google.cloud.video.transcoder.v1.SpriteSheetOrBuilder getSpriteSheetsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * List of overlays on the output video, in descending Z-order.
    * 
* * repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10; */ - java.util.List getOverlaysList(); + java.util.List + getOverlaysList(); /** - * - * *
    * List of overlays on the output video, in descending Z-order.
    * 
@@ -499,8 +402,6 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre */ com.google.cloud.video.transcoder.v1.Overlay getOverlays(int index); /** - * - * *
    * List of overlays on the output video, in descending Z-order.
    * 
@@ -509,24 +410,21 @@ com.google.cloud.video.transcoder.v1.ElementaryStreamOrBuilder getElementaryStre */ int getOverlaysCount(); /** - * - * *
    * List of overlays on the output video, in descending Z-order.
    * 
* * repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10; */ - java.util.List + java.util.List getOverlaysOrBuilderList(); /** - * - * *
    * List of overlays on the output video, in descending Z-order.
    * 
* * repeated .google.cloud.video.transcoder.v1.Overlay overlays = 10; */ - com.google.cloud.video.transcoder.v1.OverlayOrBuilder getOverlaysOrBuilder(int index); + com.google.cloud.video.transcoder.v1.OverlayOrBuilder getOverlaysOrBuilder( + int index); } diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobName.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobName.java similarity index 100% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobName.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobName.java diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobOrBuilder.java similarity index 80% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobOrBuilder.java index 9332dafb..1c9182e2 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; -public interface JobOrBuilder - extends +public interface JobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.Job) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the job.
    * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the job.
    * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
    * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
@@ -63,13 +40,10 @@ public interface JobOrBuilder
    * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The inputUri. */ java.lang.String getInputUri(); /** - * - * *
    * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
    * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
@@ -80,14 +54,12 @@ public interface JobOrBuilder
    * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString getInputUriBytes(); + com.google.protobuf.ByteString + getInputUriBytes(); /** - * - * *
    * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
    * `JobTemplate.config.output.uri` when using template.
@@ -97,13 +69,10 @@ public interface JobOrBuilder
    * 
* * string output_uri = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The outputUri. */ java.lang.String getOutputUri(); /** - * - * *
    * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
    * `JobTemplate.config.output.uri` when using template.
@@ -113,14 +82,12 @@ public interface JobOrBuilder
    * 
* * string output_uri = 3 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for outputUri. */ - com.google.protobuf.ByteString getOutputUriBytes(); + com.google.protobuf.ByteString + getOutputUriBytes(); /** - * - * *
    * Input only. Specify the `template_id` to use for populating `Job.config`. The default
    * is `preset/web-hd`.
@@ -131,13 +98,10 @@ public interface JobOrBuilder
    * 
* * string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return Whether the templateId field is set. */ boolean hasTemplateId(); /** - * - * *
    * Input only. Specify the `template_id` to use for populating `Job.config`. The default
    * is `preset/web-hd`.
@@ -148,13 +112,10 @@ public interface JobOrBuilder
    * 
* * string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The templateId. */ java.lang.String getTemplateId(); /** - * - * *
    * Input only. Specify the `template_id` to use for populating `Job.config`. The default
    * is `preset/web-hd`.
@@ -165,38 +126,30 @@ public interface JobOrBuilder
    * 
* * string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for templateId. */ - com.google.protobuf.ByteString getTemplateIdBytes(); + com.google.protobuf.ByteString + getTemplateIdBytes(); /** - * - * *
    * The configuration for this job.
    * 
* * .google.cloud.video.transcoder.v1.JobConfig config = 5; - * * @return Whether the config field is set. */ boolean hasConfig(); /** - * - * *
    * The configuration for this job.
    * 
* * .google.cloud.video.transcoder.v1.JobConfig config = 5; - * * @return The config. */ com.google.cloud.video.transcoder.v1.JobConfig getConfig(); /** - * - * *
    * The configuration for this job.
    * 
@@ -206,151 +159,106 @@ public interface JobOrBuilder com.google.cloud.video.transcoder.v1.JobConfigOrBuilder getConfigOrBuilder(); /** - * - * *
    * Output only. The current state of the job.
    * 
* - * - * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the job.
    * 
* - * - * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.video.transcoder.v1.Job.ProcessingState getState(); /** - * - * *
    * Output only. The time the job was created.
    * 
* - * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the job was created.
    * 
* - * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the job was created.
    * 
* - * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the transcoding started.
    * 
* - * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. The time the transcoding started.
    * 
* - * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Output only. The time the transcoding started.
    * 
* - * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Output only. The time the transcoding finished.
    * 
* - * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time the transcoding finished.
    * 
* - * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time the transcoding finished.
    * 
* - * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Job time to live value in days, which will be effective after job
    * completion. Job should be deleted automatically after the given TTL. Enter
@@ -358,14 +266,11 @@ public interface JobOrBuilder
    * 
* * int32 ttl_after_completion_days = 15; - * * @return The ttlAfterCompletionDays. */ int getTtlAfterCompletionDays(); /** - * - * *
    * The labels associated with this job. You can use these to organize and
    * group your jobs.
@@ -375,8 +280,6 @@ public interface JobOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * The labels associated with this job. You can use these to organize and
    * group your jobs.
@@ -384,13 +287,15 @@ public interface JobOrBuilder
    *
    * map<string, string> labels = 16;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * The labels associated with this job. You can use these to organize and
    * group your jobs.
@@ -398,10 +303,9 @@ public interface JobOrBuilder
    *
    * map<string, string> labels = 16;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * The labels associated with this job. You can use these to organize and
    * group your jobs.
@@ -411,13 +315,11 @@ public interface JobOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The labels associated with this job. You can use these to organize and
    * group your jobs.
@@ -425,37 +327,31 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 16;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
    * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
    * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * Output only. An error object that describes the reason for the failure.
    * This property is always present when `state` is `FAILED`.
diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplate.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplate.java
similarity index 65%
rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplate.java
rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplate.java
index c8534364..24616707 100644
--- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplate.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplate.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/video/transcoder/v1/resources.proto
 
 package com.google.cloud.video.transcoder.v1;
 
 /**
- *
- *
  * 
  * Transcoding job template resource.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.JobTemplate} */ -public final class JobTemplate extends com.google.protobuf.GeneratedMessageV3 - implements +public final class JobTemplate extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.JobTemplate) JobTemplateOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use JobTemplate.newBuilder() to construct. private JobTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private JobTemplate() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new JobTemplate(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private JobTemplate( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,49 +54,45 @@ private JobTemplate( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.cloud.video.transcoder.v1.JobConfig.Builder subBuilder = null; + if (config_ != null) { + subBuilder = config_.toBuilder(); } - case 18: - { - com.google.cloud.video.transcoder.v1.JobConfig.Builder subBuilder = null; - if (config_ != null) { - subBuilder = config_.toBuilder(); - } - config_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.JobConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); - } - - break; + config_ = input.readMessage(com.google.cloud.video.transcoder.v1.JobConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,44 +100,41 @@ private JobTemplate( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_JobTemplate_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_JobTemplate_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_JobTemplate_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_JobTemplate_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.JobTemplate.class, - com.google.cloud.video.transcoder.v1.JobTemplate.Builder.class); + com.google.cloud.video.transcoder.v1.JobTemplate.class, com.google.cloud.video.transcoder.v1.JobTemplate.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The resource name of the job template.
    * Format:
@@ -166,7 +142,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -175,15 +150,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the job template.
    * Format:
@@ -191,15 +165,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -210,14 +185,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CONFIG_FIELD_NUMBER = 2; private com.google.cloud.video.transcoder.v1.JobConfig config_; /** - * - * *
    * The configuration for this template.
    * 
* * .google.cloud.video.transcoder.v1.JobConfig config = 2; - * * @return Whether the config field is set. */ @java.lang.Override @@ -225,25 +197,18 @@ public boolean hasConfig() { return config_ != null; } /** - * - * *
    * The configuration for this template.
    * 
* * .google.cloud.video.transcoder.v1.JobConfig config = 2; - * * @return The config. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.JobConfig getConfig() { - return config_ == null - ? com.google.cloud.video.transcoder.v1.JobConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.cloud.video.transcoder.v1.JobConfig.getDefaultInstance() : config_; } /** - * - * *
    * The configuration for this template.
    * 
@@ -256,23 +221,24 @@ public com.google.cloud.video.transcoder.v1.JobConfigOrBuilder getConfigOrBuilde } public static final int LABELS_FIELD_NUMBER = 3; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_JobTemplate_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_JobTemplate_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -281,8 +247,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * The labels associated with this job template. You can use these to organize
    * and group your job templates.
@@ -290,22 +254,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 3;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * The labels associated with this job template. You can use these to organize
    * and group your job templates.
@@ -314,12 +278,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 3;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * The labels associated with this job template. You can use these to organize
    * and group your job templates.
@@ -328,16 +291,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 3;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The labels associated with this job template. You can use these to organize
    * and group your job templates.
@@ -346,11 +309,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 3;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -358,7 +322,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -370,15 +333,20 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  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 (config_ != null) {
       output.writeMessage(2, getConfig());
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 3);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetLabels(),
+        LabelsDefaultEntryHolder.defaultEntry,
+        3);
     unknownFields.writeTo(output);
   }
 
@@ -392,17 +360,18 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (config_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConfig());
-    }
-    for (java.util.Map.Entry entry :
-        internalGetLabels().getMap().entrySet()) {
-      com.google.protobuf.MapEntry labels__ =
-          LabelsDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, labels__);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getConfig());
+    }
+    for (java.util.Map.Entry entry
+         : internalGetLabels().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, labels__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -412,20 +381,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.video.transcoder.v1.JobTemplate)) {
       return super.equals(obj);
     }
-    com.google.cloud.video.transcoder.v1.JobTemplate other =
-        (com.google.cloud.video.transcoder.v1.JobTemplate) obj;
+    com.google.cloud.video.transcoder.v1.JobTemplate other = (com.google.cloud.video.transcoder.v1.JobTemplate) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasConfig() != other.hasConfig()) return false;
     if (hasConfig()) {
-      if (!getConfig().equals(other.getConfig())) return false;
+      if (!getConfig()
+          .equals(other.getConfig())) return false;
     }
-    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+    if (!internalGetLabels().equals(
+        other.internalGetLabels())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -452,147 +423,140 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.video.transcoder.v1.JobTemplate parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.video.transcoder.v1.JobTemplate parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.transcoder.v1.JobTemplate parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.JobTemplate parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.transcoder.v1.JobTemplate parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.JobTemplate parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.transcoder.v1.JobTemplate parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.video.transcoder.v1.JobTemplate parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.video.transcoder.v1.JobTemplate parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.transcoder.v1.JobTemplate parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.video.transcoder.v1.JobTemplate parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.video.transcoder.v1.JobTemplate parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.transcoder.v1.JobTemplate parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.JobTemplate parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.transcoder.v1.JobTemplate parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.video.transcoder.v1.JobTemplate prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Transcoding job template resource.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.JobTemplate} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.JobTemplate) com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_JobTemplate_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_JobTemplate_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 3: return internalGetMutableLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_JobTemplate_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_JobTemplate_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.JobTemplate.class, - com.google.cloud.video.transcoder.v1.JobTemplate.Builder.class); + com.google.cloud.video.transcoder.v1.JobTemplate.class, com.google.cloud.video.transcoder.v1.JobTemplate.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.JobTemplate.newBuilder() @@ -600,15 +564,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -625,9 +590,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_JobTemplate_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_JobTemplate_descriptor; } @java.lang.Override @@ -646,8 +611,7 @@ public com.google.cloud.video.transcoder.v1.JobTemplate build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.JobTemplate buildPartial() { - com.google.cloud.video.transcoder.v1.JobTemplate result = - new com.google.cloud.video.transcoder.v1.JobTemplate(this); + com.google.cloud.video.transcoder.v1.JobTemplate result = new com.google.cloud.video.transcoder.v1.JobTemplate(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (configBuilder_ == null) { @@ -665,39 +629,38 @@ public com.google.cloud.video.transcoder.v1.JobTemplate buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.JobTemplate) { - return mergeFrom((com.google.cloud.video.transcoder.v1.JobTemplate) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.JobTemplate)other); } else { super.mergeFrom(other); return this; @@ -705,8 +668,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.transcoder.v1.JobTemplate other) { - if (other == com.google.cloud.video.transcoder.v1.JobTemplate.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.transcoder.v1.JobTemplate.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -714,7 +676,8 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.JobTemplate other) if (other.hasConfig()) { mergeConfig(other.getConfig()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -743,13 +706,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The resource name of the job template.
      * Format:
@@ -757,13 +717,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -772,8 +732,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the job template.
      * Format:
@@ -781,14 +739,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -796,8 +755,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the job template.
      * Format:
@@ -805,22 +762,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The resource name of the job template.
      * Format:
@@ -828,18 +783,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The resource name of the job template.
      * Format:
@@ -847,16 +799,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -864,47 +816,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.video.transcoder.v1.JobConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.JobConfig, - com.google.cloud.video.transcoder.v1.JobConfig.Builder, - com.google.cloud.video.transcoder.v1.JobConfigOrBuilder> - configBuilder_; + com.google.cloud.video.transcoder.v1.JobConfig, com.google.cloud.video.transcoder.v1.JobConfig.Builder, com.google.cloud.video.transcoder.v1.JobConfigOrBuilder> configBuilder_; /** - * - * *
      * The configuration for this template.
      * 
* * .google.cloud.video.transcoder.v1.JobConfig config = 2; - * * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** - * - * *
      * The configuration for this template.
      * 
* * .google.cloud.video.transcoder.v1.JobConfig config = 2; - * * @return The config. */ public com.google.cloud.video.transcoder.v1.JobConfig getConfig() { if (configBuilder_ == null) { - return config_ == null - ? com.google.cloud.video.transcoder.v1.JobConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.cloud.video.transcoder.v1.JobConfig.getDefaultInstance() : config_; } else { return configBuilder_.getMessage(); } } /** - * - * *
      * The configuration for this template.
      * 
@@ -925,8 +864,6 @@ public Builder setConfig(com.google.cloud.video.transcoder.v1.JobConfig value) { return this; } /** - * - * *
      * The configuration for this template.
      * 
@@ -945,8 +882,6 @@ public Builder setConfig( return this; } /** - * - * *
      * The configuration for this template.
      * 
@@ -957,9 +892,7 @@ public Builder mergeConfig(com.google.cloud.video.transcoder.v1.JobConfig value) if (configBuilder_ == null) { if (config_ != null) { config_ = - com.google.cloud.video.transcoder.v1.JobConfig.newBuilder(config_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.transcoder.v1.JobConfig.newBuilder(config_).mergeFrom(value).buildPartial(); } else { config_ = value; } @@ -971,8 +904,6 @@ public Builder mergeConfig(com.google.cloud.video.transcoder.v1.JobConfig value) return this; } /** - * - * *
      * The configuration for this template.
      * 
@@ -991,8 +922,6 @@ public Builder clearConfig() { return this; } /** - * - * *
      * The configuration for this template.
      * 
@@ -1000,13 +929,11 @@ public Builder clearConfig() { * .google.cloud.video.transcoder.v1.JobConfig config = 2; */ public com.google.cloud.video.transcoder.v1.JobConfig.Builder getConfigBuilder() { - + onChanged(); return getConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The configuration for this template.
      * 
@@ -1017,14 +944,11 @@ public com.google.cloud.video.transcoder.v1.JobConfigOrBuilder getConfigOrBuilde if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null - ? com.google.cloud.video.transcoder.v1.JobConfig.getDefaultInstance() - : config_; + return config_ == null ? + com.google.cloud.video.transcoder.v1.JobConfig.getDefaultInstance() : config_; } } /** - * - * *
      * The configuration for this template.
      * 
@@ -1032,37 +956,35 @@ public com.google.cloud.video.transcoder.v1.JobConfigOrBuilder getConfigOrBuilde * .google.cloud.video.transcoder.v1.JobConfig config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.JobConfig, - com.google.cloud.video.transcoder.v1.JobConfig.Builder, - com.google.cloud.video.transcoder.v1.JobConfigOrBuilder> + com.google.cloud.video.transcoder.v1.JobConfig, com.google.cloud.video.transcoder.v1.JobConfig.Builder, com.google.cloud.video.transcoder.v1.JobConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.JobConfig, - com.google.cloud.video.transcoder.v1.JobConfig.Builder, - com.google.cloud.video.transcoder.v1.JobConfigOrBuilder>( - getConfig(), getParentForChildren(), isClean()); + configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.transcoder.v1.JobConfig, com.google.cloud.video.transcoder.v1.JobConfig.Builder, com.google.cloud.video.transcoder.v1.JobConfigOrBuilder>( + getConfig(), + getParentForChildren(), + isClean()); config_ = null; } return configBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1074,8 +996,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * The labels associated with this job template. You can use these to organize
      * and group your job templates.
@@ -1083,22 +1003,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 3;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * The labels associated with this job template. You can use these to organize
      * and group your job templates.
@@ -1107,12 +1027,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 3;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * The labels associated with this job template. You can use these to organize
      * and group your job templates.
@@ -1121,17 +1040,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 3;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The labels associated with this job template. You can use these to organize
      * and group your job templates.
@@ -1140,11 +1058,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 3;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1152,12 +1071,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The labels associated with this job template. You can use these to organize
      * and group your job templates.
@@ -1165,21 +1083,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 3;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The labels associated with this job template. You can use these to organize
      * and group your job templates.
@@ -1187,20 +1107,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 3;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The labels associated with this job template. You can use these to organize
      * and group your job templates.
@@ -1208,13 +1127,16 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 3;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1224,12 +1146,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.JobTemplate)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.JobTemplate)
   private static final com.google.cloud.video.transcoder.v1.JobTemplate DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.JobTemplate();
   }
@@ -1238,16 +1160,16 @@ public static com.google.cloud.video.transcoder.v1.JobTemplate getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public JobTemplate parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new JobTemplate(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public JobTemplate parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new JobTemplate(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1262,4 +1184,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.video.transcoder.v1.JobTemplate getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplateName.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplateName.java
similarity index 100%
rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplateName.java
rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplateName.java
diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplateOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplateOrBuilder.java
similarity index 69%
rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplateOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplateOrBuilder.java
index e6f5790e..ee34a5c9 100644
--- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplateOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplateOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/video/transcoder/v1/resources.proto
 
 package com.google.cloud.video.transcoder.v1;
 
-public interface JobTemplateOrBuilder
-    extends
+public interface JobTemplateOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.JobTemplate)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The resource name of the job template.
    * Format:
@@ -33,13 +15,10 @@ public interface JobTemplateOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the job template.
    * Format:
@@ -47,38 +26,30 @@ public interface JobTemplateOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The configuration for this template.
    * 
* * .google.cloud.video.transcoder.v1.JobConfig config = 2; - * * @return Whether the config field is set. */ boolean hasConfig(); /** - * - * *
    * The configuration for this template.
    * 
* * .google.cloud.video.transcoder.v1.JobConfig config = 2; - * * @return The config. */ com.google.cloud.video.transcoder.v1.JobConfig getConfig(); /** - * - * *
    * The configuration for this template.
    * 
@@ -88,8 +59,6 @@ public interface JobTemplateOrBuilder com.google.cloud.video.transcoder.v1.JobConfigOrBuilder getConfigOrBuilder(); /** - * - * *
    * The labels associated with this job template. You can use these to organize
    * and group your job templates.
@@ -99,8 +68,6 @@ public interface JobTemplateOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * The labels associated with this job template. You can use these to organize
    * and group your job templates.
@@ -108,13 +75,15 @@ public interface JobTemplateOrBuilder
    *
    * map<string, string> labels = 3;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * The labels associated with this job template. You can use these to organize
    * and group your job templates.
@@ -122,10 +91,9 @@ public interface JobTemplateOrBuilder
    *
    * map<string, string> labels = 3;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * The labels associated with this job template. You can use these to organize
    * and group your job templates.
@@ -135,13 +103,11 @@ public interface JobTemplateOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The labels associated with this job template. You can use these to organize
    * and group your job templates.
@@ -149,5 +115,7 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 3;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 }
diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequest.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequest.java
similarity index 69%
rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequest.java
index 109e3634..670e476d 100644
--- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/video/transcoder/v1/services.proto
 
 package com.google.cloud.video.transcoder.v1;
 
 /**
- *
- *
  * 
  * Request message for `TranscoderService.ListJobTemplates`.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.ListJobTemplatesRequest} */ -public final class ListJobTemplatesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobTemplatesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.ListJobTemplatesRequest) ListJobTemplatesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobTemplatesRequest.newBuilder() to construct. private ListJobTemplatesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobTemplatesRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListJobTemplatesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobTemplatesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListJobTemplatesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListJobTemplatesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,42 +99,35 @@ private ListJobTemplatesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesRequest_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest.class, - com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest.Builder.class); + com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest.class, com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent location from which to retrieve the collection of job templates.
    * Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -164,32 +136,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location from which to retrieve the collection of job templates.
    * Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -200,14 +170,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -218,15 +185,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The `next_page_token` value returned from a previous List request, if
    * any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -235,30 +199,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The `next_page_token` value returned from a previous List request, if
    * any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -269,15 +233,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * The filter expression, following the syntax outlined in
    * https://google.aip.dev/160.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -286,30 +247,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * The filter expression, following the syntax outlined in
    * https://google.aip.dev/160.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -320,15 +281,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * One or more fields to compare and use to sort the output.
    * See https://google.aip.dev/132#ordering.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -337,30 +295,30 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * One or more fields to compare and use to sort the output.
    * See https://google.aip.dev/132#ordering.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -369,7 +327,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,7 +338,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -410,7 +368,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -429,19 +388,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest other = - (com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest other = (com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -469,127 +432,117 @@ public int hashCode() { } public static com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `TranscoderService.ListJobTemplates`.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.ListJobTemplatesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.ListJobTemplatesRequest) com.google.cloud.video.transcoder.v1.ListJobTemplatesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesRequest_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest.class, - com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest.Builder.class); + com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest.class, com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest.newBuilder() @@ -597,15 +550,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -623,14 +577,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesRequest_descriptor; } @java.lang.Override - public com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest - getDefaultInstanceForType() { + public com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest getDefaultInstanceForType() { return com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest.getDefaultInstance(); } @@ -645,8 +598,7 @@ public com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest buildPartial() { - com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest result = - new com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest(this); + com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest result = new com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -660,39 +612,38 @@ public com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.ListJobTemplatesRequest) { - return mergeFrom((com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest)other); } else { super.mergeFrom(other); return this; @@ -700,9 +651,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest other) { - if (other - == com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -741,8 +690,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -754,23 +702,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location from which to retrieve the collection of job templates.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -779,24 +723,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location from which to retrieve the collection of job templates.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -804,85 +745,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location from which to retrieve the collection of job templates.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent location from which to retrieve the collection of job templates.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent location from which to retrieve the collection of job templates.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -890,36 +815,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -927,21 +846,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `next_page_token` value returned from a previous List request, if
      * any.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -950,22 +867,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `next_page_token` value returned from a previous List request, if
      * any.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -973,64 +889,57 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `next_page_token` value returned from a previous List request, if
      * any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The `next_page_token` value returned from a previous List request, if
      * any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The `next_page_token` value returned from a previous List request, if
      * any.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1038,21 +947,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * The filter expression, following the syntax outlined in
      * https://google.aip.dev/160.
      * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1061,22 +968,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * The filter expression, following the syntax outlined in
      * https://google.aip.dev/160.
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1084,64 +990,57 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * The filter expression, following the syntax outlined in
      * https://google.aip.dev/160.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * The filter expression, following the syntax outlined in
      * https://google.aip.dev/160.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * The filter expression, following the syntax outlined in
      * https://google.aip.dev/160.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1149,21 +1048,19 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * One or more fields to compare and use to sort the output.
      * See https://google.aip.dev/132#ordering.
      * 
* * string order_by = 5; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1172,22 +1069,21 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * One or more fields to compare and use to sort the output.
      * See https://google.aip.dev/132#ordering.
      * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1195,71 +1091,64 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * One or more fields to compare and use to sort the output.
      * See https://google.aip.dev/132#ordering.
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * One or more fields to compare and use to sort the output.
      * See https://google.aip.dev/132#ordering.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * One or more fields to compare and use to sort the output.
      * See https://google.aip.dev/132#ordering.
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1269,13 +1158,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.ListJobTemplatesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.ListJobTemplatesRequest) - private static final com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest(); } @@ -1284,16 +1172,16 @@ public static com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobTemplatesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobTemplatesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobTemplatesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListJobTemplatesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1308,4 +1196,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.ListJobTemplatesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequestOrBuilder.java index cd1acbc2..cfe79011 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequestOrBuilder.java @@ -1,150 +1,107 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/services.proto package com.google.cloud.video.transcoder.v1; -public interface ListJobTemplatesRequestOrBuilder - extends +public interface ListJobTemplatesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.ListJobTemplatesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location from which to retrieve the collection of job templates.
    * Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location from which to retrieve the collection of job templates.
    * Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of items to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The `next_page_token` value returned from a previous List request, if
    * any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The `next_page_token` value returned from a previous List request, if
    * any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The filter expression, following the syntax outlined in
    * https://google.aip.dev/160.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * The filter expression, following the syntax outlined in
    * https://google.aip.dev/160.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * One or more fields to compare and use to sort the output.
    * See https://google.aip.dev/132#ordering.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * One or more fields to compare and use to sort the output.
    * See https://google.aip.dev/132#ordering.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponse.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponse.java similarity index 74% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponse.java index 720e5c4b..26cec878 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/services.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Response message for `TranscoderService.ListJobTemplates`.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.ListJobTemplatesResponse} */ -public final class ListJobTemplatesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobTemplatesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.ListJobTemplatesResponse) ListJobTemplatesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobTemplatesResponse.newBuilder() to construct. private ListJobTemplatesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobTemplatesResponse() { jobTemplates_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListJobTemplatesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobTemplatesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListJobTemplatesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,43 +56,37 @@ private ListJobTemplatesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - jobTemplates_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - jobTemplates_.add( - input.readMessage( - com.google.cloud.video.transcoder.v1.JobTemplate.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + jobTemplates_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + jobTemplates_.add( + input.readMessage(com.google.cloud.video.transcoder.v1.JobTemplate.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,7 +94,8 @@ private ListJobTemplatesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { jobTemplates_ = java.util.Collections.unmodifiableList(jobTemplates_); @@ -129,27 +107,22 @@ private ListJobTemplatesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesResponse_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse.class, - com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse.Builder.class); + com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse.class, com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse.Builder.class); } public static final int JOB_TEMPLATES_FIELD_NUMBER = 1; private java.util.List jobTemplates_; /** - * - * *
    * List of job templates in the specified region.
    * 
@@ -161,8 +134,6 @@ public java.util.List getJobTe return jobTemplates_; } /** - * - * *
    * List of job templates in the specified region.
    * 
@@ -170,13 +141,11 @@ public java.util.List getJobTe * repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1; */ @java.lang.Override - public java.util.List + public java.util.List getJobTemplatesOrBuilderList() { return jobTemplates_; } /** - * - * *
    * List of job templates in the specified region.
    * 
@@ -188,8 +157,6 @@ public int getJobTemplatesCount() { return jobTemplates_.size(); } /** - * - * *
    * List of job templates in the specified region.
    * 
@@ -201,8 +168,6 @@ public com.google.cloud.video.transcoder.v1.JobTemplate getJobTemplates(int inde return jobTemplates_.get(index); } /** - * - * *
    * List of job templates in the specified region.
    * 
@@ -218,14 +183,11 @@ public com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder getJobTemplates public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The pagination token.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -234,29 +196,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The pagination token.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -267,42 +229,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * List of regions that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * List of regions that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * List of regions that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -310,23 +264,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * List of regions that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,7 +289,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < jobTemplates_.size(); i++) { output.writeMessage(1, jobTemplates_.get(i)); } @@ -358,7 +310,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < jobTemplates_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobTemplates_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, jobTemplates_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -379,17 +332,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse other = - (com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse) obj; + com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse other = (com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse) obj; - if (!getJobTemplatesList().equals(other.getJobTemplatesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getJobTemplatesList() + .equals(other.getJobTemplatesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -417,127 +372,117 @@ public int hashCode() { } public static com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for `TranscoderService.ListJobTemplates`.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.ListJobTemplatesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.ListJobTemplatesResponse) com.google.cloud.video.transcoder.v1.ListJobTemplatesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesResponse_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse.class, - com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse.Builder.class); + com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse.class, com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse.newBuilder() @@ -545,17 +490,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getJobTemplatesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -573,14 +518,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesResponse_descriptor; } @java.lang.Override - public com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse - getDefaultInstanceForType() { + public com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse getDefaultInstanceForType() { return com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse.getDefaultInstance(); } @@ -595,8 +539,7 @@ public com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse buildPartial() { - com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse result = - new com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse(this); + com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse result = new com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse(this); int from_bitField0_ = bitField0_; if (jobTemplatesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -621,39 +564,38 @@ public com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.ListJobTemplatesResponse) { - return mergeFrom((com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse)other); } else { super.mergeFrom(other); return this; @@ -661,9 +603,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse other) { - if (other - == com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse.getDefaultInstance()) return this; if (jobTemplatesBuilder_ == null) { if (!other.jobTemplates_.isEmpty()) { if (jobTemplates_.isEmpty()) { @@ -682,10 +622,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.ListJobTemplatesRe jobTemplatesBuilder_ = null; jobTemplates_ = other.jobTemplates_; bitField0_ = (bitField0_ & ~0x00000001); - jobTemplatesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobTemplatesFieldBuilder() - : null; + jobTemplatesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobTemplatesFieldBuilder() : null; } else { jobTemplatesBuilder_.addAllMessages(other.jobTemplates_); } @@ -724,9 +663,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -735,30 +672,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List jobTemplates_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobTemplatesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - jobTemplates_ = - new java.util.ArrayList( - jobTemplates_); + jobTemplates_ = new java.util.ArrayList(jobTemplates_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.JobTemplate, - com.google.cloud.video.transcoder.v1.JobTemplate.Builder, - com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder> - jobTemplatesBuilder_; + com.google.cloud.video.transcoder.v1.JobTemplate, com.google.cloud.video.transcoder.v1.JobTemplate.Builder, com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder> jobTemplatesBuilder_; /** - * - * *
      * List of job templates in the specified region.
      * 
@@ -773,8 +701,6 @@ public java.util.List getJobTe } } /** - * - * *
      * List of job templates in the specified region.
      * 
@@ -789,8 +715,6 @@ public int getJobTemplatesCount() { } } /** - * - * *
      * List of job templates in the specified region.
      * 
@@ -805,8 +729,6 @@ public com.google.cloud.video.transcoder.v1.JobTemplate getJobTemplates(int inde } } /** - * - * *
      * List of job templates in the specified region.
      * 
@@ -828,8 +750,6 @@ public Builder setJobTemplates( return this; } /** - * - * *
      * List of job templates in the specified region.
      * 
@@ -848,8 +768,6 @@ public Builder setJobTemplates( return this; } /** - * - * *
      * List of job templates in the specified region.
      * 
@@ -870,8 +788,6 @@ public Builder addJobTemplates(com.google.cloud.video.transcoder.v1.JobTemplate return this; } /** - * - * *
      * List of job templates in the specified region.
      * 
@@ -893,8 +809,6 @@ public Builder addJobTemplates( return this; } /** - * - * *
      * List of job templates in the specified region.
      * 
@@ -913,8 +827,6 @@ public Builder addJobTemplates( return this; } /** - * - * *
      * List of job templates in the specified region.
      * 
@@ -933,8 +845,6 @@ public Builder addJobTemplates( return this; } /** - * - * *
      * List of job templates in the specified region.
      * 
@@ -945,7 +855,8 @@ public Builder addAllJobTemplates( java.lang.Iterable values) { if (jobTemplatesBuilder_ == null) { ensureJobTemplatesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobTemplates_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobTemplates_); onChanged(); } else { jobTemplatesBuilder_.addAllMessages(values); @@ -953,8 +864,6 @@ public Builder addAllJobTemplates( return this; } /** - * - * *
      * List of job templates in the specified region.
      * 
@@ -972,8 +881,6 @@ public Builder clearJobTemplates() { return this; } /** - * - * *
      * List of job templates in the specified region.
      * 
@@ -991,8 +898,6 @@ public Builder removeJobTemplates(int index) { return this; } /** - * - * *
      * List of job templates in the specified region.
      * 
@@ -1004,8 +909,6 @@ public com.google.cloud.video.transcoder.v1.JobTemplate.Builder getJobTemplatesB return getJobTemplatesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of job templates in the specified region.
      * 
@@ -1015,22 +918,19 @@ public com.google.cloud.video.transcoder.v1.JobTemplate.Builder getJobTemplatesB public com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder getJobTemplatesOrBuilder( int index) { if (jobTemplatesBuilder_ == null) { - return jobTemplates_.get(index); - } else { + return jobTemplates_.get(index); } else { return jobTemplatesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of job templates in the specified region.
      * 
* * repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1; */ - public java.util.List - getJobTemplatesOrBuilderList() { + public java.util.List + getJobTemplatesOrBuilderList() { if (jobTemplatesBuilder_ != null) { return jobTemplatesBuilder_.getMessageOrBuilderList(); } else { @@ -1038,8 +938,6 @@ public com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder getJobTemplates } } /** - * - * *
      * List of job templates in the specified region.
      * 
@@ -1047,12 +945,10 @@ public com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder getJobTemplates * repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1; */ public com.google.cloud.video.transcoder.v1.JobTemplate.Builder addJobTemplatesBuilder() { - return getJobTemplatesFieldBuilder() - .addBuilder(com.google.cloud.video.transcoder.v1.JobTemplate.getDefaultInstance()); + return getJobTemplatesFieldBuilder().addBuilder( + com.google.cloud.video.transcoder.v1.JobTemplate.getDefaultInstance()); } /** - * - * *
      * List of job templates in the specified region.
      * 
@@ -1061,35 +957,30 @@ public com.google.cloud.video.transcoder.v1.JobTemplate.Builder addJobTemplatesB */ public com.google.cloud.video.transcoder.v1.JobTemplate.Builder addJobTemplatesBuilder( int index) { - return getJobTemplatesFieldBuilder() - .addBuilder(index, com.google.cloud.video.transcoder.v1.JobTemplate.getDefaultInstance()); + return getJobTemplatesFieldBuilder().addBuilder( + index, com.google.cloud.video.transcoder.v1.JobTemplate.getDefaultInstance()); } /** - * - * *
      * List of job templates in the specified region.
      * 
* * repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1; */ - public java.util.List - getJobTemplatesBuilderList() { + public java.util.List + getJobTemplatesBuilderList() { return getJobTemplatesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.JobTemplate, - com.google.cloud.video.transcoder.v1.JobTemplate.Builder, - com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder> + com.google.cloud.video.transcoder.v1.JobTemplate, com.google.cloud.video.transcoder.v1.JobTemplate.Builder, com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder> getJobTemplatesFieldBuilder() { if (jobTemplatesBuilder_ == null) { - jobTemplatesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.JobTemplate, - com.google.cloud.video.transcoder.v1.JobTemplate.Builder, - com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder>( - jobTemplates_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobTemplatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.transcoder.v1.JobTemplate, com.google.cloud.video.transcoder.v1.JobTemplate.Builder, com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder>( + jobTemplates_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobTemplates_ = null; } return jobTemplatesBuilder_; @@ -1097,20 +988,18 @@ public com.google.cloud.video.transcoder.v1.JobTemplate.Builder addJobTemplatesB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The pagination token.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1119,21 +1008,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The pagination token.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1141,112 +1029,95 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The pagination token.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The pagination token.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The pagination token.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1254,90 +1125,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1347,30 +1208,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1380,13 +1239,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.ListJobTemplatesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.ListJobTemplatesResponse) - private static final com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse(); } @@ -1395,16 +1253,16 @@ public static com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobTemplatesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobTemplatesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobTemplatesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListJobTemplatesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1419,4 +1277,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponseOrBuilder.java similarity index 72% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponseOrBuilder.java index a035421e..f159f1ed 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/services.proto package com.google.cloud.video.transcoder.v1; -public interface ListJobTemplatesResponseOrBuilder - extends +public interface ListJobTemplatesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.ListJobTemplatesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of job templates in the specified region.
    * 
* * repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1; */ - java.util.List getJobTemplatesList(); + java.util.List + getJobTemplatesList(); /** - * - * *
    * List of job templates in the specified region.
    * 
@@ -44,8 +25,6 @@ public interface ListJobTemplatesResponseOrBuilder */ com.google.cloud.video.transcoder.v1.JobTemplate getJobTemplates(int index); /** - * - * *
    * List of job templates in the specified region.
    * 
@@ -54,100 +33,82 @@ public interface ListJobTemplatesResponseOrBuilder */ int getJobTemplatesCount(); /** - * - * *
    * List of job templates in the specified region.
    * 
* * repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1; */ - java.util.List + java.util.List getJobTemplatesOrBuilderList(); /** - * - * *
    * List of job templates in the specified region.
    * 
* * repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1; */ - com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder getJobTemplatesOrBuilder(int index); + com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder getJobTemplatesOrBuilder( + int index); /** - * - * *
    * The pagination token.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The pagination token.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * List of regions that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * List of regions that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * List of regions that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * List of regions that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequest.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequest.java similarity index 70% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequest.java index 82cfd4fc..279185e4 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/services.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Request message for `TranscoderService.ListJobs`.
  * The parent location from which to retrieve the collection of jobs.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.video.transcoder.v1.ListJobsRequest}
  */
-public final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListJobsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.ListJobsRequest)
     ListJobsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListJobsRequest.newBuilder() to construct.
   private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListJobsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -47,15 +29,16 @@ private ListJobsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListJobsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListJobsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,46 +57,42 @@ private ListJobsRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
-            }
-          case 16:
-            {
-              pageSize_ = input.readInt32();
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            parent_ = s;
+            break;
+          }
+          case 16: {
 
-              pageToken_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            pageSize_ = input.readInt32();
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              filter_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            pageToken_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              orderBy_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            filter_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            orderBy_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -121,41 +100,34 @@ private ListJobsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.video.transcoder.v1.ServicesProto
-        .internal_static_google_cloud_video_transcoder_v1_ListJobsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.video.transcoder.v1.ServicesProto
-        .internal_static_google_cloud_video_transcoder_v1_ListJobsRequest_fieldAccessorTable
+    return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.video.transcoder.v1.ListJobsRequest.class,
-            com.google.cloud.video.transcoder.v1.ListJobsRequest.Builder.class);
+            com.google.cloud.video.transcoder.v1.ListJobsRequest.class, com.google.cloud.video.transcoder.v1.ListJobsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -164,31 +136,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -199,14 +169,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -217,15 +184,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The `next_page_token` value returned from a previous List request, if
    * any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -234,30 +198,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The `next_page_token` value returned from a previous List request, if
    * any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -268,15 +232,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * The filter expression, following the syntax outlined in
    * https://google.aip.dev/160.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -285,30 +246,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * The filter expression, following the syntax outlined in
    * https://google.aip.dev/160.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -319,15 +280,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * One or more fields to compare and use to sort the output.
    * See https://google.aip.dev/132#ordering.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -336,30 +294,30 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * One or more fields to compare and use to sort the output.
    * See https://google.aip.dev/132#ordering.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -368,7 +326,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -380,7 +337,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -409,7 +367,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -428,19 +387,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.ListJobsRequest)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.ListJobsRequest other = - (com.google.cloud.video.transcoder.v1.ListJobsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.video.transcoder.v1.ListJobsRequest other = (com.google.cloud.video.transcoder.v1.ListJobsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -468,103 +431,96 @@ public int hashCode() { } public static com.google.cloud.video.transcoder.v1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.ListJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.ListJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.ListJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.ListJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.ListJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.ListJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.transcoder.v1.ListJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `TranscoderService.ListJobs`.
    * The parent location from which to retrieve the collection of jobs.
@@ -572,23 +528,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.video.transcoder.v1.ListJobsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.ListJobsRequest)
       com.google.cloud.video.transcoder.v1.ListJobsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.video.transcoder.v1.ServicesProto
-          .internal_static_google_cloud_video_transcoder_v1_ListJobsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.transcoder.v1.ServicesProto
-          .internal_static_google_cloud_video_transcoder_v1_ListJobsRequest_fieldAccessorTable
+      return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.transcoder.v1.ListJobsRequest.class,
-              com.google.cloud.video.transcoder.v1.ListJobsRequest.Builder.class);
+              com.google.cloud.video.transcoder.v1.ListJobsRequest.class, com.google.cloud.video.transcoder.v1.ListJobsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.video.transcoder.v1.ListJobsRequest.newBuilder()
@@ -596,15 +550,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -622,9 +577,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.video.transcoder.v1.ServicesProto
-          .internal_static_google_cloud_video_transcoder_v1_ListJobsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -643,8 +598,7 @@ public com.google.cloud.video.transcoder.v1.ListJobsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.video.transcoder.v1.ListJobsRequest buildPartial() {
-      com.google.cloud.video.transcoder.v1.ListJobsRequest result =
-          new com.google.cloud.video.transcoder.v1.ListJobsRequest(this);
+      com.google.cloud.video.transcoder.v1.ListJobsRequest result = new com.google.cloud.video.transcoder.v1.ListJobsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -658,39 +612,38 @@ public com.google.cloud.video.transcoder.v1.ListJobsRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        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) {
+    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) {
+    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) {
+        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) {
+        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.video.transcoder.v1.ListJobsRequest) {
-        return mergeFrom((com.google.cloud.video.transcoder.v1.ListJobsRequest) other);
+        return mergeFrom((com.google.cloud.video.transcoder.v1.ListJobsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -698,8 +651,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.video.transcoder.v1.ListJobsRequest other) {
-      if (other == com.google.cloud.video.transcoder.v1.ListJobsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.video.transcoder.v1.ListJobsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -738,8 +690,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.video.transcoder.v1.ListJobsRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.video.transcoder.v1.ListJobsRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -751,22 +702,18 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -775,23 +722,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -799,82 +743,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -882,36 +810,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of items to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -919,21 +841,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `next_page_token` value returned from a previous List request, if
      * any.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -942,22 +862,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `next_page_token` value returned from a previous List request, if
      * any.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -965,64 +884,57 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `next_page_token` value returned from a previous List request, if
      * any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The `next_page_token` value returned from a previous List request, if
      * any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The `next_page_token` value returned from a previous List request, if
      * any.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1030,21 +942,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * The filter expression, following the syntax outlined in
      * https://google.aip.dev/160.
      * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1053,22 +963,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * The filter expression, following the syntax outlined in
      * https://google.aip.dev/160.
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1076,64 +985,57 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * The filter expression, following the syntax outlined in
      * https://google.aip.dev/160.
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * The filter expression, following the syntax outlined in
      * https://google.aip.dev/160.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * The filter expression, following the syntax outlined in
      * https://google.aip.dev/160.
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1141,21 +1043,19 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * One or more fields to compare and use to sort the output.
      * See https://google.aip.dev/132#ordering.
      * 
* * string order_by = 5; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1164,22 +1064,21 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * One or more fields to compare and use to sort the output.
      * See https://google.aip.dev/132#ordering.
      * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1187,71 +1086,64 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * One or more fields to compare and use to sort the output.
      * See https://google.aip.dev/132#ordering.
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * One or more fields to compare and use to sort the output.
      * See https://google.aip.dev/132#ordering.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * One or more fields to compare and use to sort the output.
      * See https://google.aip.dev/132#ordering.
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1261,12 +1153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.ListJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.ListJobsRequest) private static final com.google.cloud.video.transcoder.v1.ListJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.ListJobsRequest(); } @@ -1275,16 +1167,16 @@ public static com.google.cloud.video.transcoder.v1.ListJobsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1299,4 +1191,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequestOrBuilder.java index 8acf7832..5d6dffee 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequestOrBuilder.java @@ -1,148 +1,105 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/services.proto package com.google.cloud.video.transcoder.v1; -public interface ListJobsRequestOrBuilder - extends +public interface ListJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of items to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The `next_page_token` value returned from a previous List request, if
    * any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The `next_page_token` value returned from a previous List request, if
    * any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The filter expression, following the syntax outlined in
    * https://google.aip.dev/160.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * The filter expression, following the syntax outlined in
    * https://google.aip.dev/160.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * One or more fields to compare and use to sort the output.
    * See https://google.aip.dev/132#ordering.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * One or more fields to compare and use to sort the output.
    * See https://google.aip.dev/132#ordering.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponse.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponse.java similarity index 73% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponse.java index c7948b33..f3d0fd34 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/services.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Response message for `TranscoderService.ListJobs`.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.ListJobsResponse} */ -public final class ListJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.ListJobsResponse) ListJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobsResponse.newBuilder() to construct. private ListJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private ListJobsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - jobs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - jobs_.add( - input.readMessage( - com.google.cloud.video.transcoder.v1.Job.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + jobs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + jobs_.add( + input.readMessage(com.google.cloud.video.transcoder.v1.Job.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +94,8 @@ private ListJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { jobs_ = java.util.Collections.unmodifiableList(jobs_); @@ -127,27 +107,22 @@ private ListJobsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.ListJobsResponse.class, - com.google.cloud.video.transcoder.v1.ListJobsResponse.Builder.class); + com.google.cloud.video.transcoder.v1.ListJobsResponse.class, com.google.cloud.video.transcoder.v1.ListJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** - * - * *
    * List of jobs in the specified region.
    * 
@@ -159,8 +134,6 @@ public java.util.List getJobsList() { return jobs_; } /** - * - * *
    * List of jobs in the specified region.
    * 
@@ -168,13 +141,11 @@ public java.util.List getJobsList() { * repeated .google.cloud.video.transcoder.v1.Job jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** - * - * *
    * List of jobs in the specified region.
    * 
@@ -186,8 +157,6 @@ public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * List of jobs in the specified region.
    * 
@@ -199,8 +168,6 @@ public com.google.cloud.video.transcoder.v1.Job getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * List of jobs in the specified region.
    * 
@@ -208,21 +175,19 @@ public com.google.cloud.video.transcoder.v1.Job getJobs(int index) { * repeated .google.cloud.video.transcoder.v1.Job jobs = 1; */ @java.lang.Override - public com.google.cloud.video.transcoder.v1.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.video.transcoder.v1.JobOrBuilder getJobsOrBuilder( + int index) { return jobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The pagination token.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -231,29 +196,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The pagination token.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -264,42 +229,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * List of regions that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * List of regions that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * List of regions that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -307,23 +264,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * List of regions that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -335,7 +289,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < jobs_.size(); i++) { output.writeMessage(1, jobs_.get(i)); } @@ -355,7 +310,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < jobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, jobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -376,17 +332,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.ListJobsResponse)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.ListJobsResponse other = - (com.google.cloud.video.transcoder.v1.ListJobsResponse) obj; + com.google.cloud.video.transcoder.v1.ListJobsResponse other = (com.google.cloud.video.transcoder.v1.ListJobsResponse) obj; - if (!getJobsList().equals(other.getJobsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getJobsList() + .equals(other.getJobsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -414,127 +372,117 @@ public int hashCode() { } public static com.google.cloud.video.transcoder.v1.ListJobsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.ListJobsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.ListJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.ListJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.ListJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.ListJobsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.ListJobsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.ListJobsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.ListJobsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.ListJobsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.ListJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.ListJobsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.ListJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.ListJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.ListJobsResponse prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.ListJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for `TranscoderService.ListJobs`.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.ListJobsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.ListJobsResponse) com.google.cloud.video.transcoder.v1.ListJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.ListJobsResponse.class, - com.google.cloud.video.transcoder.v1.ListJobsResponse.Builder.class); + com.google.cloud.video.transcoder.v1.ListJobsResponse.class, com.google.cloud.video.transcoder.v1.ListJobsResponse.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.ListJobsResponse.newBuilder() @@ -542,17 +490,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getJobsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +518,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ServicesProto - .internal_static_google_cloud_video_transcoder_v1_ListJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ServicesProto.internal_static_google_cloud_video_transcoder_v1_ListJobsResponse_descriptor; } @java.lang.Override @@ -591,8 +539,7 @@ public com.google.cloud.video.transcoder.v1.ListJobsResponse build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.ListJobsResponse buildPartial() { - com.google.cloud.video.transcoder.v1.ListJobsResponse result = - new com.google.cloud.video.transcoder.v1.ListJobsResponse(this); + com.google.cloud.video.transcoder.v1.ListJobsResponse result = new com.google.cloud.video.transcoder.v1.ListJobsResponse(this); int from_bitField0_ = bitField0_; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -617,39 +564,38 @@ public com.google.cloud.video.transcoder.v1.ListJobsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.ListJobsResponse) { - return mergeFrom((com.google.cloud.video.transcoder.v1.ListJobsResponse) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.ListJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -657,8 +603,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.transcoder.v1.ListJobsResponse other) { - if (other == com.google.cloud.video.transcoder.v1.ListJobsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.transcoder.v1.ListJobsResponse.getDefaultInstance()) return this; if (jobsBuilder_ == null) { if (!other.jobs_.isEmpty()) { if (jobs_.isEmpty()) { @@ -677,10 +622,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.ListJobsResponse o jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobsFieldBuilder() - : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobsFieldBuilder() : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -719,8 +663,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.ListJobsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.transcoder.v1.ListJobsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -729,28 +672,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List jobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Job, - com.google.cloud.video.transcoder.v1.Job.Builder, - com.google.cloud.video.transcoder.v1.JobOrBuilder> - jobsBuilder_; + com.google.cloud.video.transcoder.v1.Job, com.google.cloud.video.transcoder.v1.Job.Builder, com.google.cloud.video.transcoder.v1.JobOrBuilder> jobsBuilder_; /** - * - * *
      * List of jobs in the specified region.
      * 
@@ -765,8 +701,6 @@ public java.util.List getJobsList() { } } /** - * - * *
      * List of jobs in the specified region.
      * 
@@ -781,8 +715,6 @@ public int getJobsCount() { } } /** - * - * *
      * List of jobs in the specified region.
      * 
@@ -797,15 +729,14 @@ public com.google.cloud.video.transcoder.v1.Job getJobs(int index) { } } /** - * - * *
      * List of jobs in the specified region.
      * 
* * repeated .google.cloud.video.transcoder.v1.Job jobs = 1; */ - public Builder setJobs(int index, com.google.cloud.video.transcoder.v1.Job value) { + public Builder setJobs( + int index, com.google.cloud.video.transcoder.v1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -819,8 +750,6 @@ public Builder setJobs(int index, com.google.cloud.video.transcoder.v1.Job value return this; } /** - * - * *
      * List of jobs in the specified region.
      * 
@@ -839,8 +768,6 @@ public Builder setJobs( return this; } /** - * - * *
      * List of jobs in the specified region.
      * 
@@ -861,15 +788,14 @@ public Builder addJobs(com.google.cloud.video.transcoder.v1.Job value) { return this; } /** - * - * *
      * List of jobs in the specified region.
      * 
* * repeated .google.cloud.video.transcoder.v1.Job jobs = 1; */ - public Builder addJobs(int index, com.google.cloud.video.transcoder.v1.Job value) { + public Builder addJobs( + int index, com.google.cloud.video.transcoder.v1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -883,15 +809,14 @@ public Builder addJobs(int index, com.google.cloud.video.transcoder.v1.Job value return this; } /** - * - * *
      * List of jobs in the specified region.
      * 
* * repeated .google.cloud.video.transcoder.v1.Job jobs = 1; */ - public Builder addJobs(com.google.cloud.video.transcoder.v1.Job.Builder builderForValue) { + public Builder addJobs( + com.google.cloud.video.transcoder.v1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -902,8 +827,6 @@ public Builder addJobs(com.google.cloud.video.transcoder.v1.Job.Builder builderF return this; } /** - * - * *
      * List of jobs in the specified region.
      * 
@@ -922,8 +845,6 @@ public Builder addJobs( return this; } /** - * - * *
      * List of jobs in the specified region.
      * 
@@ -934,7 +855,8 @@ public Builder addAllJobs( java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -942,8 +864,6 @@ public Builder addAllJobs( return this; } /** - * - * *
      * List of jobs in the specified region.
      * 
@@ -961,8 +881,6 @@ public Builder clearJobs() { return this; } /** - * - * *
      * List of jobs in the specified region.
      * 
@@ -980,44 +898,39 @@ public Builder removeJobs(int index) { return this; } /** - * - * *
      * List of jobs in the specified region.
      * 
* * repeated .google.cloud.video.transcoder.v1.Job jobs = 1; */ - public com.google.cloud.video.transcoder.v1.Job.Builder getJobsBuilder(int index) { + public com.google.cloud.video.transcoder.v1.Job.Builder getJobsBuilder( + int index) { return getJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of jobs in the specified region.
      * 
* * repeated .google.cloud.video.transcoder.v1.Job jobs = 1; */ - public com.google.cloud.video.transcoder.v1.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.video.transcoder.v1.JobOrBuilder getJobsOrBuilder( + int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); - } else { + return jobs_.get(index); } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of jobs in the specified region.
      * 
* * repeated .google.cloud.video.transcoder.v1.Job jobs = 1; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -1025,8 +938,6 @@ public com.google.cloud.video.transcoder.v1.JobOrBuilder getJobsOrBuilder(int in } } /** - * - * *
      * List of jobs in the specified region.
      * 
@@ -1034,47 +945,42 @@ public com.google.cloud.video.transcoder.v1.JobOrBuilder getJobsOrBuilder(int in * repeated .google.cloud.video.transcoder.v1.Job jobs = 1; */ public com.google.cloud.video.transcoder.v1.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder() - .addBuilder(com.google.cloud.video.transcoder.v1.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder( + com.google.cloud.video.transcoder.v1.Job.getDefaultInstance()); } /** - * - * *
      * List of jobs in the specified region.
      * 
* * repeated .google.cloud.video.transcoder.v1.Job jobs = 1; */ - public com.google.cloud.video.transcoder.v1.Job.Builder addJobsBuilder(int index) { - return getJobsFieldBuilder() - .addBuilder(index, com.google.cloud.video.transcoder.v1.Job.getDefaultInstance()); + public com.google.cloud.video.transcoder.v1.Job.Builder addJobsBuilder( + int index) { + return getJobsFieldBuilder().addBuilder( + index, com.google.cloud.video.transcoder.v1.Job.getDefaultInstance()); } /** - * - * *
      * List of jobs in the specified region.
      * 
* * repeated .google.cloud.video.transcoder.v1.Job jobs = 1; */ - public java.util.List getJobsBuilderList() { + public java.util.List + getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Job, - com.google.cloud.video.transcoder.v1.Job.Builder, - com.google.cloud.video.transcoder.v1.JobOrBuilder> + com.google.cloud.video.transcoder.v1.Job, com.google.cloud.video.transcoder.v1.Job.Builder, com.google.cloud.video.transcoder.v1.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Job, - com.google.cloud.video.transcoder.v1.Job.Builder, - com.google.cloud.video.transcoder.v1.JobOrBuilder>( - jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.video.transcoder.v1.Job, com.google.cloud.video.transcoder.v1.Job.Builder, com.google.cloud.video.transcoder.v1.JobOrBuilder>( + jobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobs_ = null; } return jobsBuilder_; @@ -1082,20 +988,18 @@ public java.util.List getJobsB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The pagination token.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1104,21 +1008,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The pagination token.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1126,112 +1029,95 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The pagination token.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The pagination token.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The pagination token.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1239,90 +1125,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1332,30 +1208,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * List of regions that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1365,12 +1239,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.ListJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.ListJobsResponse) private static final com.google.cloud.video.transcoder.v1.ListJobsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.ListJobsResponse(); } @@ -1379,16 +1253,16 @@ public static com.google.cloud.video.transcoder.v1.ListJobsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1403,4 +1277,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.ListJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponseOrBuilder.java index b16b92da..a9184540 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/services.proto package com.google.cloud.video.transcoder.v1; -public interface ListJobsResponseOrBuilder - extends +public interface ListJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.ListJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of jobs in the specified region.
    * 
* * repeated .google.cloud.video.transcoder.v1.Job jobs = 1; */ - java.util.List getJobsList(); + java.util.List + getJobsList(); /** - * - * *
    * List of jobs in the specified region.
    * 
@@ -44,8 +25,6 @@ public interface ListJobsResponseOrBuilder */ com.google.cloud.video.transcoder.v1.Job getJobs(int index); /** - * - * *
    * List of jobs in the specified region.
    * 
@@ -54,100 +33,82 @@ public interface ListJobsResponseOrBuilder */ int getJobsCount(); /** - * - * *
    * List of jobs in the specified region.
    * 
* * repeated .google.cloud.video.transcoder.v1.Job jobs = 1; */ - java.util.List + java.util.List getJobsOrBuilderList(); /** - * - * *
    * List of jobs in the specified region.
    * 
* * repeated .google.cloud.video.transcoder.v1.Job jobs = 1; */ - com.google.cloud.video.transcoder.v1.JobOrBuilder getJobsOrBuilder(int index); + com.google.cloud.video.transcoder.v1.JobOrBuilder getJobsOrBuilder( + int index); /** - * - * *
    * The pagination token.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The pagination token.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * List of regions that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * List of regions that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * List of regions that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * List of regions that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/LocationName.java similarity index 100% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/LocationName.java diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Manifest.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Manifest.java similarity index 72% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Manifest.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Manifest.java index b237efc4..f57a0159 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Manifest.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Manifest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Manifest configuration.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Manifest} */ -public final class Manifest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Manifest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.Manifest) ManifestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Manifest.newBuilder() to construct. private Manifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Manifest() { fileName_ = ""; type_ = 0; @@ -45,15 +27,16 @@ private Manifest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Manifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Manifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,37 +56,34 @@ private Manifest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - fileName_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + fileName_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - muxStreams_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - muxStreams_.add(s); - break; + type_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + muxStreams_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + muxStreams_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -111,7 +91,8 @@ private Manifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { muxStreams_ = muxStreams_.getUnmodifiableView(); @@ -120,35 +101,29 @@ private Manifest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Manifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Manifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Manifest_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Manifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Manifest.class, - com.google.cloud.video.transcoder.v1.Manifest.Builder.class); + com.google.cloud.video.transcoder.v1.Manifest.class, com.google.cloud.video.transcoder.v1.Manifest.Builder.class); } /** - * - * *
    * The manifest type can be either `HLS` or `DASH`.
    * 
* * Protobuf enum {@code google.cloud.video.transcoder.v1.Manifest.ManifestType} */ - public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { + public enum ManifestType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The manifest type is not specified.
      * 
@@ -157,8 +132,6 @@ public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { */ MANIFEST_TYPE_UNSPECIFIED(0), /** - * - * *
      * Create `HLS` manifest. The corresponding file extension is `.m3u8`.
      * 
@@ -167,8 +140,6 @@ public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { */ HLS(1), /** - * - * *
      * Create `DASH` manifest. The corresponding file extension is `.mpd`.
      * 
@@ -180,8 +151,6 @@ public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The manifest type is not specified.
      * 
@@ -190,8 +159,6 @@ public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANIFEST_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Create `HLS` manifest. The corresponding file extension is `.m3u8`.
      * 
@@ -200,8 +167,6 @@ public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HLS_VALUE = 1; /** - * - * *
      * Create `DASH` manifest. The corresponding file extension is `.mpd`.
      * 
@@ -210,6 +175,7 @@ public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DASH_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -234,49 +200,49 @@ public static ManifestType valueOf(int value) { */ public static ManifestType forNumber(int value) { switch (value) { - case 0: - return MANIFEST_TYPE_UNSPECIFIED; - case 1: - return HLS; - case 2: - return DASH; - default: - return null; + case 0: return MANIFEST_TYPE_UNSPECIFIED; + case 1: return HLS; + case 2: return DASH; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ManifestType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ManifestType findValueByNumber(int number) { + return ManifestType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ManifestType findValueByNumber(int number) { - return ManifestType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.video.transcoder.v1.Manifest.getDescriptor().getEnumTypes().get(0); } private static final ManifestType[] VALUES = values(); - public static ManifestType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ManifestType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -296,15 +262,12 @@ private ManifestType(int value) { public static final int FILE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object fileName_; /** - * - * *
    * The name of the generated file. The default is `manifest` with the
    * extension suffix corresponding to the `Manifest.type`.
    * 
* * string file_name = 1; - * * @return The fileName. */ @java.lang.Override @@ -313,30 +276,30 @@ public java.lang.String getFileName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileName_ = s; return s; } } /** - * - * *
    * The name of the generated file. The default is `manifest` with the
    * extension suffix corresponding to the `Manifest.type`.
    * 
* * string file_name = 1; - * * @return The bytes for fileName. */ @java.lang.Override - public com.google.protobuf.ByteString getFileNameBytes() { + public com.google.protobuf.ByteString + getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fileName_ = b; return b; } else { @@ -347,50 +310,33 @@ public com.google.protobuf.ByteString getFileNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** - * - * *
    * Required. Type of the manifest, can be `HLS` or `DASH`.
    * 
* - * - * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. Type of the manifest, can be `HLS` or `DASH`.
    * 
* - * - * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Manifest.ManifestType getType() { + @java.lang.Override public com.google.cloud.video.transcoder.v1.Manifest.ManifestType getType() { @SuppressWarnings("deprecation") - com.google.cloud.video.transcoder.v1.Manifest.ManifestType result = - com.google.cloud.video.transcoder.v1.Manifest.ManifestType.valueOf(type_); - return result == null - ? com.google.cloud.video.transcoder.v1.Manifest.ManifestType.UNRECOGNIZED - : result; + com.google.cloud.video.transcoder.v1.Manifest.ManifestType result = com.google.cloud.video.transcoder.v1.Manifest.ManifestType.valueOf(type_); + return result == null ? com.google.cloud.video.transcoder.v1.Manifest.ManifestType.UNRECOGNIZED : result; } public static final int MUX_STREAMS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList muxStreams_; /** - * - * *
    * Required. List of user given `MuxStream.key`s that should appear in this manifest.
    * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -399,15 +345,13 @@ public com.google.cloud.video.transcoder.v1.Manifest.ManifestType getType() {
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the muxStreams. */ - public com.google.protobuf.ProtocolStringList getMuxStreamsList() { + public com.google.protobuf.ProtocolStringList + getMuxStreamsList() { return muxStreams_; } /** - * - * *
    * Required. List of user given `MuxStream.key`s that should appear in this manifest.
    * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -416,15 +360,12 @@ public com.google.protobuf.ProtocolStringList getMuxStreamsList() {
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of muxStreams. */ public int getMuxStreamsCount() { return muxStreams_.size(); } /** - * - * *
    * Required. List of user given `MuxStream.key`s that should appear in this manifest.
    * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -433,7 +374,6 @@ public int getMuxStreamsCount() {
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The muxStreams at the given index. */ @@ -441,8 +381,6 @@ public java.lang.String getMuxStreams(int index) { return muxStreams_.get(index); } /** - * - * *
    * Required. List of user given `MuxStream.key`s that should appear in this manifest.
    * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -451,16 +389,15 @@ public java.lang.String getMuxStreams(int index) {
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the muxStreams at the given index. */ - public com.google.protobuf.ByteString getMuxStreamsBytes(int index) { + public com.google.protobuf.ByteString + getMuxStreamsBytes(int index) { return muxStreams_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -472,13 +409,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fileName_); } - if (type_ - != com.google.cloud.video.transcoder.v1.Manifest.ManifestType.MANIFEST_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.video.transcoder.v1.Manifest.ManifestType.MANIFEST_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } for (int i = 0; i < muxStreams_.size(); i++) { @@ -496,10 +432,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fileName_); } - if (type_ - != com.google.cloud.video.transcoder.v1.Manifest.ManifestType.MANIFEST_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.cloud.video.transcoder.v1.Manifest.ManifestType.MANIFEST_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } { int dataSize = 0; @@ -517,17 +452,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.Manifest)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.Manifest other = - (com.google.cloud.video.transcoder.v1.Manifest) obj; + com.google.cloud.video.transcoder.v1.Manifest other = (com.google.cloud.video.transcoder.v1.Manifest) obj; - if (!getFileName().equals(other.getFileName())) return false; + if (!getFileName() + .equals(other.getFileName())) return false; if (type_ != other.type_) return false; - if (!getMuxStreamsList().equals(other.getMuxStreamsList())) return false; + if (!getMuxStreamsList() + .equals(other.getMuxStreamsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -552,127 +488,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.transcoder.v1.Manifest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.video.transcoder.v1.Manifest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Manifest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Manifest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Manifest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Manifest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Manifest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Manifest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Manifest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.Manifest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.Manifest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Manifest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Manifest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Manifest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.transcoder.v1.Manifest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Manifest configuration.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Manifest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.Manifest) com.google.cloud.video.transcoder.v1.ManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Manifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Manifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Manifest_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Manifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Manifest.class, - com.google.cloud.video.transcoder.v1.Manifest.Builder.class); + com.google.cloud.video.transcoder.v1.Manifest.class, com.google.cloud.video.transcoder.v1.Manifest.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.Manifest.newBuilder() @@ -680,15 +607,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -702,9 +630,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Manifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Manifest_descriptor; } @java.lang.Override @@ -723,8 +651,7 @@ public com.google.cloud.video.transcoder.v1.Manifest build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.Manifest buildPartial() { - com.google.cloud.video.transcoder.v1.Manifest result = - new com.google.cloud.video.transcoder.v1.Manifest(this); + com.google.cloud.video.transcoder.v1.Manifest result = new com.google.cloud.video.transcoder.v1.Manifest(this); int from_bitField0_ = bitField0_; result.fileName_ = fileName_; result.type_ = type_; @@ -741,39 +668,38 @@ public com.google.cloud.video.transcoder.v1.Manifest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.Manifest) { - return mergeFrom((com.google.cloud.video.transcoder.v1.Manifest) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.Manifest)other); } else { super.mergeFrom(other); return this; @@ -827,26 +753,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object fileName_ = ""; /** - * - * *
      * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest.type`.
      * 
* * string file_name = 1; - * * @return The fileName. */ public java.lang.String getFileName() { java.lang.Object ref = fileName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileName_ = s; return s; @@ -855,22 +778,21 @@ public java.lang.String getFileName() { } } /** - * - * *
      * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest.type`.
      * 
* * string file_name = 1; - * * @return The bytes for fileName. */ - public com.google.protobuf.ByteString getFileNameBytes() { + public com.google.protobuf.ByteString + getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fileName_ = b; return b; } else { @@ -878,64 +800,57 @@ public com.google.protobuf.ByteString getFileNameBytes() { } } /** - * - * *
      * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest.type`.
      * 
* * string file_name = 1; - * * @param value The fileName to set. * @return This builder for chaining. */ - public Builder setFileName(java.lang.String value) { + public Builder setFileName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fileName_ = value; onChanged(); return this; } /** - * - * *
      * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest.type`.
      * 
* * string file_name = 1; - * * @return This builder for chaining. */ public Builder clearFileName() { - + fileName_ = getDefaultInstance().getFileName(); onChanged(); return this; } /** - * - * *
      * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest.type`.
      * 
* * string file_name = 1; - * * @param value The bytes for fileName to set. * @return This builder for chaining. */ - public Builder setFileNameBytes(com.google.protobuf.ByteString value) { + public Builder setFileNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fileName_ = value; onChanged(); return this; @@ -943,75 +858,51 @@ public Builder setFileNameBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* - * - * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* - * - * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* - * - * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.Manifest.ManifestType getType() { @SuppressWarnings("deprecation") - com.google.cloud.video.transcoder.v1.Manifest.ManifestType result = - com.google.cloud.video.transcoder.v1.Manifest.ManifestType.valueOf(type_); - return result == null - ? com.google.cloud.video.transcoder.v1.Manifest.ManifestType.UNRECOGNIZED - : result; + com.google.cloud.video.transcoder.v1.Manifest.ManifestType result = com.google.cloud.video.transcoder.v1.Manifest.ManifestType.valueOf(type_); + return result == null ? com.google.cloud.video.transcoder.v1.Manifest.ManifestType.UNRECOGNIZED : result; } /** - * - * *
      * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* - * - * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -1019,43 +910,34 @@ public Builder setType(com.google.cloud.video.transcoder.v1.Manifest.ManifestTyp if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* - * - * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList muxStreams_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList muxStreams_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureMuxStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { muxStreams_ = new com.google.protobuf.LazyStringArrayList(muxStreams_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Required. List of user given `MuxStream.key`s that should appear in this manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -1064,15 +946,13 @@ private void ensureMuxStreamsIsMutable() {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the muxStreams. */ - public com.google.protobuf.ProtocolStringList getMuxStreamsList() { + public com.google.protobuf.ProtocolStringList + getMuxStreamsList() { return muxStreams_.getUnmodifiableView(); } /** - * - * *
      * Required. List of user given `MuxStream.key`s that should appear in this manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -1081,15 +961,12 @@ public com.google.protobuf.ProtocolStringList getMuxStreamsList() {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of muxStreams. */ public int getMuxStreamsCount() { return muxStreams_.size(); } /** - * - * *
      * Required. List of user given `MuxStream.key`s that should appear in this manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -1098,7 +975,6 @@ public int getMuxStreamsCount() {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The muxStreams at the given index. */ @@ -1106,8 +982,6 @@ public java.lang.String getMuxStreams(int index) { return muxStreams_.get(index); } /** - * - * *
      * Required. List of user given `MuxStream.key`s that should appear in this manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -1116,16 +990,14 @@ public java.lang.String getMuxStreams(int index) {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the muxStreams at the given index. */ - public com.google.protobuf.ByteString getMuxStreamsBytes(int index) { + public com.google.protobuf.ByteString + getMuxStreamsBytes(int index) { return muxStreams_.getByteString(index); } /** - * - * *
      * Required. List of user given `MuxStream.key`s that should appear in this manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -1134,23 +1006,21 @@ public com.google.protobuf.ByteString getMuxStreamsBytes(int index) {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The muxStreams to set. * @return This builder for chaining. */ - public Builder setMuxStreams(int index, java.lang.String value) { + public Builder setMuxStreams( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMuxStreamsIsMutable(); + throw new NullPointerException(); + } + ensureMuxStreamsIsMutable(); muxStreams_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. List of user given `MuxStream.key`s that should appear in this manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -1159,22 +1029,20 @@ public Builder setMuxStreams(int index, java.lang.String value) {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The muxStreams to add. * @return This builder for chaining. */ - public Builder addMuxStreams(java.lang.String value) { + public Builder addMuxStreams( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMuxStreamsIsMutable(); + throw new NullPointerException(); + } + ensureMuxStreamsIsMutable(); muxStreams_.add(value); onChanged(); return this; } /** - * - * *
      * Required. List of user given `MuxStream.key`s that should appear in this manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -1183,19 +1051,18 @@ public Builder addMuxStreams(java.lang.String value) {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The muxStreams to add. * @return This builder for chaining. */ - public Builder addAllMuxStreams(java.lang.Iterable values) { + public Builder addAllMuxStreams( + java.lang.Iterable values) { ensureMuxStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, muxStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, muxStreams_); onChanged(); return this; } /** - * - * *
      * Required. List of user given `MuxStream.key`s that should appear in this manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -1204,7 +1071,6 @@ public Builder addAllMuxStreams(java.lang.Iterable values) {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMuxStreams() { @@ -1214,8 +1080,6 @@ public Builder clearMuxStreams() { return this; } /** - * - * *
      * Required. List of user given `MuxStream.key`s that should appear in this manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -1224,23 +1088,23 @@ public Builder clearMuxStreams() {
      * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the muxStreams to add. * @return This builder for chaining. */ - public Builder addMuxStreamsBytes(com.google.protobuf.ByteString value) { + public Builder addMuxStreamsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMuxStreamsIsMutable(); muxStreams_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1250,12 +1114,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.Manifest) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.Manifest) private static final com.google.cloud.video.transcoder.v1.Manifest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.Manifest(); } @@ -1264,16 +1128,16 @@ public static com.google.cloud.video.transcoder.v1.Manifest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Manifest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Manifest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Manifest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Manifest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1288,4 +1152,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.Manifest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ManifestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ManifestOrBuilder.java similarity index 72% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ManifestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ManifestOrBuilder.java index 84a8fa5b..2301aae1 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ManifestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ManifestOrBuilder.java @@ -1,87 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; -public interface ManifestOrBuilder - extends +public interface ManifestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.Manifest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the generated file. The default is `manifest` with the
    * extension suffix corresponding to the `Manifest.type`.
    * 
* * string file_name = 1; - * * @return The fileName. */ java.lang.String getFileName(); /** - * - * *
    * The name of the generated file. The default is `manifest` with the
    * extension suffix corresponding to the `Manifest.type`.
    * 
* * string file_name = 1; - * * @return The bytes for fileName. */ - com.google.protobuf.ByteString getFileNameBytes(); + com.google.protobuf.ByteString + getFileNameBytes(); /** - * - * *
    * Required. Type of the manifest, can be `HLS` or `DASH`.
    * 
* - * - * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. Type of the manifest, can be `HLS` or `DASH`.
    * 
* - * - * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.video.transcoder.v1.Manifest.ManifestType getType(); /** - * - * *
    * Required. List of user given `MuxStream.key`s that should appear in this manifest.
    * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -90,13 +57,11 @@ public interface ManifestOrBuilder
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the muxStreams. */ - java.util.List getMuxStreamsList(); + java.util.List + getMuxStreamsList(); /** - * - * *
    * Required. List of user given `MuxStream.key`s that should appear in this manifest.
    * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -105,13 +70,10 @@ public interface ManifestOrBuilder
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of muxStreams. */ int getMuxStreamsCount(); /** - * - * *
    * Required. List of user given `MuxStream.key`s that should appear in this manifest.
    * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -120,14 +82,11 @@ public interface ManifestOrBuilder
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The muxStreams at the given index. */ java.lang.String getMuxStreams(int index); /** - * - * *
    * Required. List of user given `MuxStream.key`s that should appear in this manifest.
    * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
@@ -136,9 +95,9 @@ public interface ManifestOrBuilder
    * 
* * repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the muxStreams at the given index. */ - com.google.protobuf.ByteString getMuxStreamsBytes(int index); + com.google.protobuf.ByteString + getMuxStreamsBytes(int index); } diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStream.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStream.java similarity index 75% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStream.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStream.java index 17c19dc3..bd6daf6d 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStream.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStream.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Multiplexing settings for output stream.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.MuxStream} */ -public final class MuxStream extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MuxStream extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.MuxStream) MuxStreamOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MuxStream.newBuilder() to construct. private MuxStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MuxStream() { key_ = ""; fileName_ = ""; @@ -46,15 +28,16 @@ private MuxStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MuxStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MuxStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,61 +57,53 @@ private MuxStream( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - key_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + key_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - fileName_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + fileName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - container_ = s; - break; + container_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + elementaryStreams_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - elementaryStreams_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - elementaryStreams_.add(s); - break; + elementaryStreams_.add(s); + break; + } + case 42: { + com.google.cloud.video.transcoder.v1.SegmentSettings.Builder subBuilder = null; + if (segmentSettings_ != null) { + subBuilder = segmentSettings_.toBuilder(); } - case 42: - { - com.google.cloud.video.transcoder.v1.SegmentSettings.Builder subBuilder = null; - if (segmentSettings_ != null) { - subBuilder = segmentSettings_.toBuilder(); - } - segmentSettings_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.SegmentSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segmentSettings_); - segmentSettings_ = subBuilder.buildPartial(); - } - - break; + segmentSettings_ = input.readMessage(com.google.cloud.video.transcoder.v1.SegmentSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segmentSettings_); + segmentSettings_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -136,7 +111,8 @@ private MuxStream( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { elementaryStreams_ = elementaryStreams_.getUnmodifiableView(); @@ -145,34 +121,28 @@ private MuxStream( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_MuxStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_MuxStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_MuxStream_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_MuxStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.MuxStream.class, - com.google.cloud.video.transcoder.v1.MuxStream.Builder.class); + com.google.cloud.video.transcoder.v1.MuxStream.class, com.google.cloud.video.transcoder.v1.MuxStream.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** - * - * *
    * A unique key for this multiplexed stream. HLS media manifests will be
    * named `MuxStream.key` with the `.m3u8` extension suffix.
    * 
* * string key = 1; - * * @return The key. */ @java.lang.Override @@ -181,30 +151,30 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** - * - * *
    * A unique key for this multiplexed stream. HLS media manifests will be
    * named `MuxStream.key` with the `.m3u8` extension suffix.
    * 
* * string key = 1; - * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -215,8 +185,6 @@ public com.google.protobuf.ByteString getKeyBytes() { public static final int FILE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object fileName_; /** - * - * *
    * The name of the generated file. The default is `MuxStream.key` with the
    * extension suffix corresponding to the `MuxStream.container`.
@@ -225,7 +193,6 @@ public com.google.protobuf.ByteString getKeyBytes() {
    * 
* * string file_name = 2; - * * @return The fileName. */ @java.lang.Override @@ -234,15 +201,14 @@ public java.lang.String getFileName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileName_ = s; return s; } } /** - * - * *
    * The name of the generated file. The default is `MuxStream.key` with the
    * extension suffix corresponding to the `MuxStream.container`.
@@ -251,15 +217,16 @@ public java.lang.String getFileName() {
    * 
* * string file_name = 2; - * * @return The bytes for fileName. */ @java.lang.Override - public com.google.protobuf.ByteString getFileNameBytes() { + public com.google.protobuf.ByteString + getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fileName_ = b; return b; } else { @@ -270,8 +237,6 @@ public com.google.protobuf.ByteString getFileNameBytes() { public static final int CONTAINER_FIELD_NUMBER = 3; private volatile java.lang.Object container_; /** - * - * *
    * The container format. The default is `mp4`
    * Supported container formats:
@@ -285,7 +250,6 @@ public com.google.protobuf.ByteString getFileNameBytes() {
    * 
* * string container = 3; - * * @return The container. */ @java.lang.Override @@ -294,15 +258,14 @@ public java.lang.String getContainer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); container_ = s; return s; } } /** - * - * *
    * The container format. The default is `mp4`
    * Supported container formats:
@@ -316,15 +279,16 @@ public java.lang.String getContainer() {
    * 
* * string container = 3; - * * @return The bytes for container. */ @java.lang.Override - public com.google.protobuf.ByteString getContainerBytes() { + public com.google.protobuf.ByteString + getContainerBytes() { java.lang.Object ref = container_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); container_ = b; return b; } else { @@ -335,42 +299,34 @@ public com.google.protobuf.ByteString getContainerBytes() { public static final int ELEMENTARY_STREAMS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList elementaryStreams_; /** - * - * *
    * List of `ElementaryStream.key`s multiplexed in this stream.
    * 
* * repeated string elementary_streams = 4; - * * @return A list containing the elementaryStreams. */ - public com.google.protobuf.ProtocolStringList getElementaryStreamsList() { + public com.google.protobuf.ProtocolStringList + getElementaryStreamsList() { return elementaryStreams_; } /** - * - * *
    * List of `ElementaryStream.key`s multiplexed in this stream.
    * 
* * repeated string elementary_streams = 4; - * * @return The count of elementaryStreams. */ public int getElementaryStreamsCount() { return elementaryStreams_.size(); } /** - * - * *
    * List of `ElementaryStream.key`s multiplexed in this stream.
    * 
* * repeated string elementary_streams = 4; - * * @param index The index of the element to return. * @return The elementaryStreams at the given index. */ @@ -378,32 +334,27 @@ public java.lang.String getElementaryStreams(int index) { return elementaryStreams_.get(index); } /** - * - * *
    * List of `ElementaryStream.key`s multiplexed in this stream.
    * 
* * repeated string elementary_streams = 4; - * * @param index The index of the value to return. * @return The bytes of the elementaryStreams at the given index. */ - public com.google.protobuf.ByteString getElementaryStreamsBytes(int index) { + public com.google.protobuf.ByteString + getElementaryStreamsBytes(int index) { return elementaryStreams_.getByteString(index); } public static final int SEGMENT_SETTINGS_FIELD_NUMBER = 5; private com.google.cloud.video.transcoder.v1.SegmentSettings segmentSettings_; /** - * - * *
    * Segment settings for `ts`, `fmp4` and `vtt`.
    * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; - * * @return Whether the segmentSettings field is set. */ @java.lang.Override @@ -411,25 +362,18 @@ public boolean hasSegmentSettings() { return segmentSettings_ != null; } /** - * - * *
    * Segment settings for `ts`, `fmp4` and `vtt`.
    * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; - * * @return The segmentSettings. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.SegmentSettings getSegmentSettings() { - return segmentSettings_ == null - ? com.google.cloud.video.transcoder.v1.SegmentSettings.getDefaultInstance() - : segmentSettings_; + return segmentSettings_ == null ? com.google.cloud.video.transcoder.v1.SegmentSettings.getDefaultInstance() : segmentSettings_; } /** - * - * *
    * Segment settings for `ts`, `fmp4` and `vtt`.
    * 
@@ -437,13 +381,11 @@ public com.google.cloud.video.transcoder.v1.SegmentSettings getSegmentSettings() * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; */ @java.lang.Override - public com.google.cloud.video.transcoder.v1.SegmentSettingsOrBuilder - getSegmentSettingsOrBuilder() { + public com.google.cloud.video.transcoder.v1.SegmentSettingsOrBuilder getSegmentSettingsOrBuilder() { return getSegmentSettings(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -455,7 +397,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -498,7 +441,8 @@ public int getSerializedSize() { size += 1 * getElementaryStreamsList().size(); } if (segmentSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSegmentSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getSegmentSettings()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -508,21 +452,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.MuxStream)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.MuxStream other = - (com.google.cloud.video.transcoder.v1.MuxStream) obj; + com.google.cloud.video.transcoder.v1.MuxStream other = (com.google.cloud.video.transcoder.v1.MuxStream) obj; - if (!getKey().equals(other.getKey())) return false; - if (!getFileName().equals(other.getFileName())) return false; - if (!getContainer().equals(other.getContainer())) return false; - if (!getElementaryStreamsList().equals(other.getElementaryStreamsList())) return false; + if (!getKey() + .equals(other.getKey())) return false; + if (!getFileName() + .equals(other.getFileName())) return false; + if (!getContainer() + .equals(other.getContainer())) return false; + if (!getElementaryStreamsList() + .equals(other.getElementaryStreamsList())) return false; if (hasSegmentSettings() != other.hasSegmentSettings()) return false; if (hasSegmentSettings()) { - if (!getSegmentSettings().equals(other.getSegmentSettings())) return false; + if (!getSegmentSettings() + .equals(other.getSegmentSettings())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -554,127 +502,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.transcoder.v1.MuxStream parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.video.transcoder.v1.MuxStream parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.MuxStream parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.MuxStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.MuxStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.MuxStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.MuxStream parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.MuxStream parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.MuxStream parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.MuxStream parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.MuxStream parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.MuxStream parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.MuxStream parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.MuxStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.transcoder.v1.MuxStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Multiplexing settings for output stream.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.MuxStream} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.MuxStream) com.google.cloud.video.transcoder.v1.MuxStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_MuxStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_MuxStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_MuxStream_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_MuxStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.MuxStream.class, - com.google.cloud.video.transcoder.v1.MuxStream.Builder.class); + com.google.cloud.video.transcoder.v1.MuxStream.class, com.google.cloud.video.transcoder.v1.MuxStream.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.MuxStream.newBuilder() @@ -682,15 +621,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -712,9 +652,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_MuxStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_MuxStream_descriptor; } @java.lang.Override @@ -733,8 +673,7 @@ public com.google.cloud.video.transcoder.v1.MuxStream build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.MuxStream buildPartial() { - com.google.cloud.video.transcoder.v1.MuxStream result = - new com.google.cloud.video.transcoder.v1.MuxStream(this); + com.google.cloud.video.transcoder.v1.MuxStream result = new com.google.cloud.video.transcoder.v1.MuxStream(this); int from_bitField0_ = bitField0_; result.key_ = key_; result.fileName_ = fileName_; @@ -757,39 +696,38 @@ public com.google.cloud.video.transcoder.v1.MuxStream buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.MuxStream) { - return mergeFrom((com.google.cloud.video.transcoder.v1.MuxStream) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.MuxStream)other); } else { super.mergeFrom(other); return this; @@ -851,26 +789,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object key_ = ""; /** - * - * *
      * A unique key for this multiplexed stream. HLS media manifests will be
      * named `MuxStream.key` with the `.m3u8` extension suffix.
      * 
* * string key = 1; - * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -879,22 +814,21 @@ public java.lang.String getKey() { } } /** - * - * *
      * A unique key for this multiplexed stream. HLS media manifests will be
      * named `MuxStream.key` with the `.m3u8` extension suffix.
      * 
* * string key = 1; - * * @return The bytes for key. */ - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -902,64 +836,57 @@ public com.google.protobuf.ByteString getKeyBytes() { } } /** - * - * *
      * A unique key for this multiplexed stream. HLS media manifests will be
      * named `MuxStream.key` with the `.m3u8` extension suffix.
      * 
* * string key = 1; - * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey(java.lang.String value) { + public Builder setKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** - * - * *
      * A unique key for this multiplexed stream. HLS media manifests will be
      * named `MuxStream.key` with the `.m3u8` extension suffix.
      * 
* * string key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** - * - * *
      * A unique key for this multiplexed stream. HLS media manifests will be
      * named `MuxStream.key` with the `.m3u8` extension suffix.
      * 
* * string key = 1; - * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; @@ -967,8 +894,6 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) { private java.lang.Object fileName_ = ""; /** - * - * *
      * The name of the generated file. The default is `MuxStream.key` with the
      * extension suffix corresponding to the `MuxStream.container`.
@@ -977,13 +902,13 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) {
      * 
* * string file_name = 2; - * * @return The fileName. */ public java.lang.String getFileName() { java.lang.Object ref = fileName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileName_ = s; return s; @@ -992,8 +917,6 @@ public java.lang.String getFileName() { } } /** - * - * *
      * The name of the generated file. The default is `MuxStream.key` with the
      * extension suffix corresponding to the `MuxStream.container`.
@@ -1002,14 +925,15 @@ public java.lang.String getFileName() {
      * 
* * string file_name = 2; - * * @return The bytes for fileName. */ - public com.google.protobuf.ByteString getFileNameBytes() { + public com.google.protobuf.ByteString + getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fileName_ = b; return b; } else { @@ -1017,8 +941,6 @@ public com.google.protobuf.ByteString getFileNameBytes() { } } /** - * - * *
      * The name of the generated file. The default is `MuxStream.key` with the
      * extension suffix corresponding to the `MuxStream.container`.
@@ -1027,22 +949,20 @@ public com.google.protobuf.ByteString getFileNameBytes() {
      * 
* * string file_name = 2; - * * @param value The fileName to set. * @return This builder for chaining. */ - public Builder setFileName(java.lang.String value) { + public Builder setFileName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fileName_ = value; onChanged(); return this; } /** - * - * *
      * The name of the generated file. The default is `MuxStream.key` with the
      * extension suffix corresponding to the `MuxStream.container`.
@@ -1051,18 +971,15 @@ public Builder setFileName(java.lang.String value) {
      * 
* * string file_name = 2; - * * @return This builder for chaining. */ public Builder clearFileName() { - + fileName_ = getDefaultInstance().getFileName(); onChanged(); return this; } /** - * - * *
      * The name of the generated file. The default is `MuxStream.key` with the
      * extension suffix corresponding to the `MuxStream.container`.
@@ -1071,16 +988,16 @@ public Builder clearFileName() {
      * 
* * string file_name = 2; - * * @param value The bytes for fileName to set. * @return This builder for chaining. */ - public Builder setFileNameBytes(com.google.protobuf.ByteString value) { + public Builder setFileNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fileName_ = value; onChanged(); return this; @@ -1088,8 +1005,6 @@ public Builder setFileNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object container_ = ""; /** - * - * *
      * The container format. The default is `mp4`
      * Supported container formats:
@@ -1103,13 +1018,13 @@ public Builder setFileNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string container = 3; - * * @return The container. */ public java.lang.String getContainer() { java.lang.Object ref = container_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); container_ = s; return s; @@ -1118,8 +1033,6 @@ public java.lang.String getContainer() { } } /** - * - * *
      * The container format. The default is `mp4`
      * Supported container formats:
@@ -1133,14 +1046,15 @@ public java.lang.String getContainer() {
      * 
* * string container = 3; - * * @return The bytes for container. */ - public com.google.protobuf.ByteString getContainerBytes() { + public com.google.protobuf.ByteString + getContainerBytes() { java.lang.Object ref = container_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); container_ = b; return b; } else { @@ -1148,8 +1062,6 @@ public com.google.protobuf.ByteString getContainerBytes() { } } /** - * - * *
      * The container format. The default is `mp4`
      * Supported container formats:
@@ -1163,22 +1075,20 @@ public com.google.protobuf.ByteString getContainerBytes() {
      * 
* * string container = 3; - * * @param value The container to set. * @return This builder for chaining. */ - public Builder setContainer(java.lang.String value) { + public Builder setContainer( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + container_ = value; onChanged(); return this; } /** - * - * *
      * The container format. The default is `mp4`
      * Supported container formats:
@@ -1192,18 +1102,15 @@ public Builder setContainer(java.lang.String value) {
      * 
* * string container = 3; - * * @return This builder for chaining. */ public Builder clearContainer() { - + container_ = getDefaultInstance().getContainer(); onChanged(); return this; } /** - * - * *
      * The container format. The default is `mp4`
      * Supported container formats:
@@ -1217,67 +1124,57 @@ public Builder clearContainer() {
      * 
* * string container = 3; - * * @param value The bytes for container to set. * @return This builder for chaining. */ - public Builder setContainerBytes(com.google.protobuf.ByteString value) { + public Builder setContainerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + container_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList elementaryStreams_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList elementaryStreams_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureElementaryStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { elementaryStreams_ = new com.google.protobuf.LazyStringArrayList(elementaryStreams_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * List of `ElementaryStream.key`s multiplexed in this stream.
      * 
* * repeated string elementary_streams = 4; - * * @return A list containing the elementaryStreams. */ - public com.google.protobuf.ProtocolStringList getElementaryStreamsList() { + public com.google.protobuf.ProtocolStringList + getElementaryStreamsList() { return elementaryStreams_.getUnmodifiableView(); } /** - * - * *
      * List of `ElementaryStream.key`s multiplexed in this stream.
      * 
* * repeated string elementary_streams = 4; - * * @return The count of elementaryStreams. */ public int getElementaryStreamsCount() { return elementaryStreams_.size(); } /** - * - * *
      * List of `ElementaryStream.key`s multiplexed in this stream.
      * 
* * repeated string elementary_streams = 4; - * * @param index The index of the element to return. * @return The elementaryStreams at the given index. */ @@ -1285,90 +1182,80 @@ public java.lang.String getElementaryStreams(int index) { return elementaryStreams_.get(index); } /** - * - * *
      * List of `ElementaryStream.key`s multiplexed in this stream.
      * 
* * repeated string elementary_streams = 4; - * * @param index The index of the value to return. * @return The bytes of the elementaryStreams at the given index. */ - public com.google.protobuf.ByteString getElementaryStreamsBytes(int index) { + public com.google.protobuf.ByteString + getElementaryStreamsBytes(int index) { return elementaryStreams_.getByteString(index); } /** - * - * *
      * List of `ElementaryStream.key`s multiplexed in this stream.
      * 
* * repeated string elementary_streams = 4; - * * @param index The index to set the value at. * @param value The elementaryStreams to set. * @return This builder for chaining. */ - public Builder setElementaryStreams(int index, java.lang.String value) { + public Builder setElementaryStreams( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureElementaryStreamsIsMutable(); + throw new NullPointerException(); + } + ensureElementaryStreamsIsMutable(); elementaryStreams_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of `ElementaryStream.key`s multiplexed in this stream.
      * 
* * repeated string elementary_streams = 4; - * * @param value The elementaryStreams to add. * @return This builder for chaining. */ - public Builder addElementaryStreams(java.lang.String value) { + public Builder addElementaryStreams( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureElementaryStreamsIsMutable(); + throw new NullPointerException(); + } + ensureElementaryStreamsIsMutable(); elementaryStreams_.add(value); onChanged(); return this; } /** - * - * *
      * List of `ElementaryStream.key`s multiplexed in this stream.
      * 
* * repeated string elementary_streams = 4; - * * @param values The elementaryStreams to add. * @return This builder for chaining. */ - public Builder addAllElementaryStreams(java.lang.Iterable values) { + public Builder addAllElementaryStreams( + java.lang.Iterable values) { ensureElementaryStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, elementaryStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, elementaryStreams_); onChanged(); return this; } /** - * - * *
      * List of `ElementaryStream.key`s multiplexed in this stream.
      * 
* * repeated string elementary_streams = 4; - * * @return This builder for chaining. */ public Builder clearElementaryStreams() { @@ -1378,22 +1265,20 @@ public Builder clearElementaryStreams() { return this; } /** - * - * *
      * List of `ElementaryStream.key`s multiplexed in this stream.
      * 
* * repeated string elementary_streams = 4; - * * @param value The bytes of the elementaryStreams to add. * @return This builder for chaining. */ - public Builder addElementaryStreamsBytes(com.google.protobuf.ByteString value) { + public Builder addElementaryStreamsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureElementaryStreamsIsMutable(); elementaryStreams_.add(value); onChanged(); @@ -1402,47 +1287,34 @@ public Builder addElementaryStreamsBytes(com.google.protobuf.ByteString value) { private com.google.cloud.video.transcoder.v1.SegmentSettings segmentSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.SegmentSettings, - com.google.cloud.video.transcoder.v1.SegmentSettings.Builder, - com.google.cloud.video.transcoder.v1.SegmentSettingsOrBuilder> - segmentSettingsBuilder_; + com.google.cloud.video.transcoder.v1.SegmentSettings, com.google.cloud.video.transcoder.v1.SegmentSettings.Builder, com.google.cloud.video.transcoder.v1.SegmentSettingsOrBuilder> segmentSettingsBuilder_; /** - * - * *
      * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; - * * @return Whether the segmentSettings field is set. */ public boolean hasSegmentSettings() { return segmentSettingsBuilder_ != null || segmentSettings_ != null; } /** - * - * *
      * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; - * * @return The segmentSettings. */ public com.google.cloud.video.transcoder.v1.SegmentSettings getSegmentSettings() { if (segmentSettingsBuilder_ == null) { - return segmentSettings_ == null - ? com.google.cloud.video.transcoder.v1.SegmentSettings.getDefaultInstance() - : segmentSettings_; + return segmentSettings_ == null ? com.google.cloud.video.transcoder.v1.SegmentSettings.getDefaultInstance() : segmentSettings_; } else { return segmentSettingsBuilder_.getMessage(); } } /** - * - * *
      * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
@@ -1463,8 +1335,6 @@ public Builder setSegmentSettings(com.google.cloud.video.transcoder.v1.SegmentSe return this; } /** - * - * *
      * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
@@ -1483,22 +1353,17 @@ public Builder setSegmentSettings( return this; } /** - * - * *
      * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; */ - public Builder mergeSegmentSettings( - com.google.cloud.video.transcoder.v1.SegmentSettings value) { + public Builder mergeSegmentSettings(com.google.cloud.video.transcoder.v1.SegmentSettings value) { if (segmentSettingsBuilder_ == null) { if (segmentSettings_ != null) { segmentSettings_ = - com.google.cloud.video.transcoder.v1.SegmentSettings.newBuilder(segmentSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.transcoder.v1.SegmentSettings.newBuilder(segmentSettings_).mergeFrom(value).buildPartial(); } else { segmentSettings_ = value; } @@ -1510,8 +1375,6 @@ public Builder mergeSegmentSettings( return this; } /** - * - * *
      * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
@@ -1530,42 +1393,33 @@ public Builder clearSegmentSettings() { return this; } /** - * - * *
      * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; */ - public com.google.cloud.video.transcoder.v1.SegmentSettings.Builder - getSegmentSettingsBuilder() { - + public com.google.cloud.video.transcoder.v1.SegmentSettings.Builder getSegmentSettingsBuilder() { + onChanged(); return getSegmentSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; */ - public com.google.cloud.video.transcoder.v1.SegmentSettingsOrBuilder - getSegmentSettingsOrBuilder() { + public com.google.cloud.video.transcoder.v1.SegmentSettingsOrBuilder getSegmentSettingsOrBuilder() { if (segmentSettingsBuilder_ != null) { return segmentSettingsBuilder_.getMessageOrBuilder(); } else { - return segmentSettings_ == null - ? com.google.cloud.video.transcoder.v1.SegmentSettings.getDefaultInstance() - : segmentSettings_; + return segmentSettings_ == null ? + com.google.cloud.video.transcoder.v1.SegmentSettings.getDefaultInstance() : segmentSettings_; } } /** - * - * *
      * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
@@ -1573,24 +1427,21 @@ public Builder clearSegmentSettings() { * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.SegmentSettings, - com.google.cloud.video.transcoder.v1.SegmentSettings.Builder, - com.google.cloud.video.transcoder.v1.SegmentSettingsOrBuilder> + com.google.cloud.video.transcoder.v1.SegmentSettings, com.google.cloud.video.transcoder.v1.SegmentSettings.Builder, com.google.cloud.video.transcoder.v1.SegmentSettingsOrBuilder> getSegmentSettingsFieldBuilder() { if (segmentSettingsBuilder_ == null) { - segmentSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.SegmentSettings, - com.google.cloud.video.transcoder.v1.SegmentSettings.Builder, - com.google.cloud.video.transcoder.v1.SegmentSettingsOrBuilder>( - getSegmentSettings(), getParentForChildren(), isClean()); + segmentSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.transcoder.v1.SegmentSettings, com.google.cloud.video.transcoder.v1.SegmentSettings.Builder, com.google.cloud.video.transcoder.v1.SegmentSettingsOrBuilder>( + getSegmentSettings(), + getParentForChildren(), + isClean()); segmentSettings_ = null; } return segmentSettingsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1600,12 +1451,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.MuxStream) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.MuxStream) private static final com.google.cloud.video.transcoder.v1.MuxStream DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.MuxStream(); } @@ -1614,16 +1465,16 @@ public static com.google.cloud.video.transcoder.v1.MuxStream getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MuxStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MuxStream(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MuxStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MuxStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1638,4 +1489,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.MuxStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStreamOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStreamOrBuilder.java similarity index 79% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStreamOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStreamOrBuilder.java index 97fbf3b1..778b2682 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStreamOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStreamOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; -public interface MuxStreamOrBuilder - extends +public interface MuxStreamOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.MuxStream) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A unique key for this multiplexed stream. HLS media manifests will be
    * named `MuxStream.key` with the `.m3u8` extension suffix.
    * 
* * string key = 1; - * * @return The key. */ java.lang.String getKey(); /** - * - * *
    * A unique key for this multiplexed stream. HLS media manifests will be
    * named `MuxStream.key` with the `.m3u8` extension suffix.
    * 
* * string key = 1; - * * @return The bytes for key. */ - com.google.protobuf.ByteString getKeyBytes(); + com.google.protobuf.ByteString + getKeyBytes(); /** - * - * *
    * The name of the generated file. The default is `MuxStream.key` with the
    * extension suffix corresponding to the `MuxStream.container`.
@@ -61,13 +38,10 @@ public interface MuxStreamOrBuilder
    * 
* * string file_name = 2; - * * @return The fileName. */ java.lang.String getFileName(); /** - * - * *
    * The name of the generated file. The default is `MuxStream.key` with the
    * extension suffix corresponding to the `MuxStream.container`.
@@ -76,14 +50,12 @@ public interface MuxStreamOrBuilder
    * 
* * string file_name = 2; - * * @return The bytes for fileName. */ - com.google.protobuf.ByteString getFileNameBytes(); + com.google.protobuf.ByteString + getFileNameBytes(); /** - * - * *
    * The container format. The default is `mp4`
    * Supported container formats:
@@ -97,13 +69,10 @@ public interface MuxStreamOrBuilder
    * 
* * string container = 3; - * * @return The container. */ java.lang.String getContainer(); /** - * - * *
    * The container format. The default is `mp4`
    * Supported container formats:
@@ -117,89 +86,71 @@ public interface MuxStreamOrBuilder
    * 
* * string container = 3; - * * @return The bytes for container. */ - com.google.protobuf.ByteString getContainerBytes(); + com.google.protobuf.ByteString + getContainerBytes(); /** - * - * *
    * List of `ElementaryStream.key`s multiplexed in this stream.
    * 
* * repeated string elementary_streams = 4; - * * @return A list containing the elementaryStreams. */ - java.util.List getElementaryStreamsList(); + java.util.List + getElementaryStreamsList(); /** - * - * *
    * List of `ElementaryStream.key`s multiplexed in this stream.
    * 
* * repeated string elementary_streams = 4; - * * @return The count of elementaryStreams. */ int getElementaryStreamsCount(); /** - * - * *
    * List of `ElementaryStream.key`s multiplexed in this stream.
    * 
* * repeated string elementary_streams = 4; - * * @param index The index of the element to return. * @return The elementaryStreams at the given index. */ java.lang.String getElementaryStreams(int index); /** - * - * *
    * List of `ElementaryStream.key`s multiplexed in this stream.
    * 
* * repeated string elementary_streams = 4; - * * @param index The index of the value to return. * @return The bytes of the elementaryStreams at the given index. */ - com.google.protobuf.ByteString getElementaryStreamsBytes(int index); + com.google.protobuf.ByteString + getElementaryStreamsBytes(int index); /** - * - * *
    * Segment settings for `ts`, `fmp4` and `vtt`.
    * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; - * * @return Whether the segmentSettings field is set. */ boolean hasSegmentSettings(); /** - * - * *
    * Segment settings for `ts`, `fmp4` and `vtt`.
    * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; - * * @return The segmentSettings. */ com.google.cloud.video.transcoder.v1.SegmentSettings getSegmentSettings(); /** - * - * *
    * Segment settings for `ts`, `fmp4` and `vtt`.
    * 
diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Output.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Output.java similarity index 71% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Output.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Output.java index d65db3fa..ee9a0a84 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Output.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Output.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Location of output file(s) in a Cloud Storage bucket.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Output} */ -public final class Output extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Output extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.Output) OutputOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Output.newBuilder() to construct. private Output(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Output() { uri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Output(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Output( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private Output( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uri_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private Output( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Output_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Output_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Output_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Output_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Output.class, - com.google.cloud.video.transcoder.v1.Output.Builder.class); + com.google.cloud.video.transcoder.v1.Output.class, com.google.cloud.video.transcoder.v1.Output.Builder.class); } public static final int URI_FIELD_NUMBER = 1; private volatile java.lang.Object uri_; /** - * - * *
    * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
    * If empty, the value is populated from `Job.output_uri`. See
@@ -126,7 +104,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string uri = 1; - * * @return The uri. */ @java.lang.Override @@ -135,15 +112,14 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
    * If empty, the value is populated from `Job.output_uri`. See
@@ -152,15 +128,16 @@ public java.lang.String getUri() {
    * 
* * string uri = 1; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -169,7 +146,6 @@ public com.google.protobuf.ByteString getUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -205,15 +182,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.Output)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.Output other = - (com.google.cloud.video.transcoder.v1.Output) obj; + com.google.cloud.video.transcoder.v1.Output other = (com.google.cloud.video.transcoder.v1.Output) obj; - if (!getUri().equals(other.getUri())) return false; + if (!getUri() + .equals(other.getUri())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +209,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.video.transcoder.v1.Output parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.video.transcoder.v1.Output parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Output parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Output parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Output parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Output parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Output parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Output parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Output parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.Output parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.Output parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Output parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Output parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Output parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.transcoder.v1.Output prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Location of output file(s) in a Cloud Storage bucket.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Output} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.Output) com.google.cloud.video.transcoder.v1.OutputOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Output_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Output_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Output_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Output_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Output.class, - com.google.cloud.video.transcoder.v1.Output.Builder.class); + com.google.cloud.video.transcoder.v1.Output.class, com.google.cloud.video.transcoder.v1.Output.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.Output.newBuilder() @@ -360,15 +328,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +347,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Output_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Output_descriptor; } @java.lang.Override @@ -399,8 +368,7 @@ public com.google.cloud.video.transcoder.v1.Output build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.Output buildPartial() { - com.google.cloud.video.transcoder.v1.Output result = - new com.google.cloud.video.transcoder.v1.Output(this); + com.google.cloud.video.transcoder.v1.Output result = new com.google.cloud.video.transcoder.v1.Output(this); result.uri_ = uri_; onBuilt(); return result; @@ -410,39 +378,38 @@ public com.google.cloud.video.transcoder.v1.Output buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.Output) { - return mergeFrom((com.google.cloud.video.transcoder.v1.Output) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.Output)other); } else { super.mergeFrom(other); return this; @@ -486,8 +453,6 @@ public Builder mergeFrom( private java.lang.Object uri_ = ""; /** - * - * *
      * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
      * If empty, the value is populated from `Job.output_uri`. See
@@ -496,13 +461,13 @@ public Builder mergeFrom(
      * 
* * string uri = 1; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -511,8 +476,6 @@ public java.lang.String getUri() { } } /** - * - * *
      * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
      * If empty, the value is populated from `Job.output_uri`. See
@@ -521,14 +484,15 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -536,8 +500,6 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
      * If empty, the value is populated from `Job.output_uri`. See
@@ -546,22 +508,20 @@ public com.google.protobuf.ByteString getUriBytes() {
      * 
* * string uri = 1; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
      * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
      * If empty, the value is populated from `Job.output_uri`. See
@@ -570,18 +530,15 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 1; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
      * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
      * If empty, the value is populated from `Job.output_uri`. See
@@ -590,23 +547,23 @@ public Builder clearUri() {
      * 
* * string uri = 1; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +573,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.Output) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.Output) private static final com.google.cloud.video.transcoder.v1.Output DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.Output(); } @@ -630,16 +587,16 @@ public static com.google.cloud.video.transcoder.v1.Output getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Output parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Output(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Output parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Output(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +611,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.Output getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/OutputOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/OutputOrBuilder.java similarity index 60% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/OutputOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/OutputOrBuilder.java index 7542cc52..46106a4a 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/OutputOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/OutputOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; -public interface OutputOrBuilder - extends +public interface OutputOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.Output) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
    * If empty, the value is populated from `Job.output_uri`. See
@@ -34,13 +16,10 @@ public interface OutputOrBuilder
    * 
* * string uri = 1; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
    * If empty, the value is populated from `Job.output_uri`. See
@@ -49,8 +28,8 @@ public interface OutputOrBuilder
    * 
* * string uri = 1; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); } diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Overlay.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Overlay.java similarity index 73% rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Overlay.java rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Overlay.java index 08867df3..a381092a 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Overlay.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Overlay.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/video/transcoder/v1/resources.proto package com.google.cloud.video.transcoder.v1; /** - * - * *
  * Overlay configuration.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Overlay} */ -public final class Overlay extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Overlay extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.Overlay) OverlayOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Overlay.newBuilder() to construct. private Overlay(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Overlay() { animations_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Overlay(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Overlay( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,44 +54,35 @@ private Overlay( case 0: done = true; break; - case 10: - { - com.google.cloud.video.transcoder.v1.Overlay.Image.Builder subBuilder = null; - if (image_ != null) { - subBuilder = image_.toBuilder(); - } - image_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.Overlay.Image.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(image_); - image_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.video.transcoder.v1.Overlay.Image.Builder subBuilder = null; + if (image_ != null) { + subBuilder = image_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - animations_ = - new java.util.ArrayList< - com.google.cloud.video.transcoder.v1.Overlay.Animation>(); - mutable_bitField0_ |= 0x00000001; - } - animations_.add( - input.readMessage( - com.google.cloud.video.transcoder.v1.Overlay.Animation.parser(), - extensionRegistry)); - break; + image_ = input.readMessage(com.google.cloud.video.transcoder.v1.Overlay.Image.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(image_); + image_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + animations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + animations_.add( + input.readMessage(com.google.cloud.video.transcoder.v1.Overlay.Animation.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,7 +90,8 @@ private Overlay( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { animations_ = java.util.Collections.unmodifiableList(animations_); @@ -125,35 +100,29 @@ private Overlay( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Overlay.class, - com.google.cloud.video.transcoder.v1.Overlay.Builder.class); + com.google.cloud.video.transcoder.v1.Overlay.class, com.google.cloud.video.transcoder.v1.Overlay.Builder.class); } /** - * - * *
    * Fade type for the overlay: `FADE_IN` or `FADE_OUT`.
    * 
* * Protobuf enum {@code google.cloud.video.transcoder.v1.Overlay.FadeType} */ - public enum FadeType implements com.google.protobuf.ProtocolMessageEnum { + public enum FadeType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The fade type is not specified.
      * 
@@ -162,8 +131,6 @@ public enum FadeType implements com.google.protobuf.ProtocolMessageEnum { */ FADE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Fade the overlay object into view.
      * 
@@ -172,8 +139,6 @@ public enum FadeType implements com.google.protobuf.ProtocolMessageEnum { */ FADE_IN(1), /** - * - * *
      * Fade the overlay object out of view.
      * 
@@ -185,8 +150,6 @@ public enum FadeType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The fade type is not specified.
      * 
@@ -195,8 +158,6 @@ public enum FadeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FADE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Fade the overlay object into view.
      * 
@@ -205,8 +166,6 @@ public enum FadeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FADE_IN_VALUE = 1; /** - * - * *
      * Fade the overlay object out of view.
      * 
@@ -215,6 +174,7 @@ public enum FadeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FADE_OUT_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -239,49 +199,49 @@ public static FadeType valueOf(int value) { */ public static FadeType forNumber(int value) { switch (value) { - case 0: - return FADE_TYPE_UNSPECIFIED; - case 1: - return FADE_IN; - case 2: - return FADE_OUT; - default: - return null; + case 0: return FADE_TYPE_UNSPECIFIED; + case 1: return FADE_IN; + case 2: return FADE_OUT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + FadeType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public FadeType findValueByNumber(int number) { + return FadeType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public FadeType findValueByNumber(int number) { - return FadeType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.video.transcoder.v1.Overlay.getDescriptor().getEnumTypes().get(0); } private static final FadeType[] VALUES = values(); - public static FadeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static FadeType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -298,69 +258,61 @@ private FadeType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.video.transcoder.v1.Overlay.FadeType) } - public interface NormalizedCoordinateOrBuilder - extends + public interface NormalizedCoordinateOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Normalized x coordinate.
      * 
* * double x = 1; - * * @return The x. */ double getX(); /** - * - * *
      * Normalized y coordinate.
      * 
* * double y = 2; - * * @return The y. */ double getY(); } /** - * - * *
    * 2D normalized coordinates. Default: `{0.0, 0.0}`
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate} */ - public static final class NormalizedCoordinate extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class NormalizedCoordinate extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate) NormalizedCoordinateOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NormalizedCoordinate.newBuilder() to construct. private NormalizedCoordinate(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private NormalizedCoordinate() {} + private NormalizedCoordinate() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NormalizedCoordinate(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private NormalizedCoordinate( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -379,23 +331,23 @@ private NormalizedCoordinate( case 0: done = true; break; - case 9: - { - x_ = input.readDouble(); - break; - } - case 17: - { - y_ = input.readDouble(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 9: { + + x_ = input.readDouble(); + break; + } + case 17: { + + y_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -403,39 +355,34 @@ private NormalizedCoordinate( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_NormalizedCoordinate_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_NormalizedCoordinate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_NormalizedCoordinate_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_NormalizedCoordinate_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.class, - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder.class); + com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.class, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder.class); } public static final int X_FIELD_NUMBER = 1; private double x_; /** - * - * *
      * Normalized x coordinate.
      * 
* * double x = 1; - * * @return The x. */ @java.lang.Override @@ -446,14 +393,11 @@ public double getX() { public static final int Y_FIELD_NUMBER = 2; private double y_; /** - * - * *
      * Normalized y coordinate.
      * 
* * double y = 2; - * * @return The y. */ @java.lang.Override @@ -462,7 +406,6 @@ public double getY() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -474,7 +417,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(x_) != 0) { output.writeDouble(1, x_); } @@ -491,10 +435,12 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(x_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, x_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, x_); } if (java.lang.Double.doubleToRawLongBits(y_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, y_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, y_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -504,18 +450,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate other = - (com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate) obj; + com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate other = (com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate) obj; if (java.lang.Double.doubleToLongBits(getX()) - != java.lang.Double.doubleToLongBits(other.getX())) return false; + != java.lang.Double.doubleToLongBits( + other.getX())) return false; if (java.lang.Double.doubleToLongBits(getY()) - != java.lang.Double.doubleToLongBits(other.getY())) return false; + != java.lang.Double.doubleToLongBits( + other.getY())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -528,108 +475,98 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + X_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getX())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getX())); hash = (37 * hash) + Y_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getY())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getY())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -639,49 +576,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * 2D normalized coordinates. Default: `{0.0, 0.0}`
      * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate) com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_NormalizedCoordinate_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_NormalizedCoordinate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_NormalizedCoordinate_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_NormalizedCoordinate_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.class, - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder.class); + com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.class, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder.class); } - // Construct using - // com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.newBuilder() + // Construct using com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -693,16 +625,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_NormalizedCoordinate_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_NormalizedCoordinate_descriptor; } @java.lang.Override - public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate - getDefaultInstanceForType() { - return com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate - .getDefaultInstance(); + public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getDefaultInstanceForType() { + return com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.getDefaultInstance(); } @java.lang.Override @@ -716,8 +646,7 @@ public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate build() @java.lang.Override public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate buildPartial() { - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate result = - new com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate(this); + com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate result = new com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate(this); result.x_ = x_; result.y_ = y_; onBuilt(); @@ -728,53 +657,46 @@ public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.Overlay.NormalizedCoordinate) { - return mergeFrom( - (com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate other) { - if (other - == com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate other) { + if (other == com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.getDefaultInstance()) return this; if (other.getX() != 0D) { setX(other.getX()); } @@ -800,9 +722,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -812,16 +732,13 @@ public Builder mergeFrom( return this; } - private double x_; + private double x_ ; /** - * - * *
        * Normalized x coordinate.
        * 
* * double x = 1; - * * @return The x. */ @java.lang.Override @@ -829,51 +746,42 @@ public double getX() { return x_; } /** - * - * *
        * Normalized x coordinate.
        * 
* * double x = 1; - * * @param value The x to set. * @return This builder for chaining. */ public Builder setX(double value) { - + x_ = value; onChanged(); return this; } /** - * - * *
        * Normalized x coordinate.
        * 
* * double x = 1; - * * @return This builder for chaining. */ public Builder clearX() { - + x_ = 0D; onChanged(); return this; } - private double y_; + private double y_ ; /** - * - * *
        * Normalized y coordinate.
        * 
* * double y = 2; - * * @return The y. */ @java.lang.Override @@ -881,41 +789,34 @@ public double getY() { return y_; } /** - * - * *
        * Normalized y coordinate.
        * 
* * double y = 2; - * * @param value The y to set. * @return This builder for chaining. */ public Builder setY(double value) { - + y_ = value; onChanged(); return this; } /** - * - * *
        * Normalized y coordinate.
        * 
* * double y = 2; - * * @return This builder for chaining. */ public Builder clearY() { - + y_ = 0D; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -928,32 +829,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate) - private static final com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate(); } - public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate - getDefaultInstance() { + public static com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedCoordinate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedCoordinate(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedCoordinate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedCoordinate(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -965,47 +864,39 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate - getDefaultInstanceForType() { + public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ImageOrBuilder - extends + public interface ImageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.Overlay.Image) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. URI of the JPEG image in Cloud Storage. For example,
      * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
      * Required. URI of the JPEG image in Cloud Storage. For example,
      * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
      * Normalized image resolution, based on output video resolution. Valid
      * values: `0.0`–`1.0`. To respect the original image aspect ratio, set
@@ -1014,13 +905,10 @@ public interface ImageOrBuilder
      * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2; - * * @return Whether the resolution field is set. */ boolean hasResolution(); /** - * - * *
      * Normalized image resolution, based on output video resolution. Valid
      * values: `0.0`–`1.0`. To respect the original image aspect ratio, set
@@ -1029,13 +917,10 @@ public interface ImageOrBuilder
      * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2; - * * @return The resolution. */ com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getResolution(); /** - * - * *
      * Normalized image resolution, based on output video resolution. Valid
      * values: `0.0`–`1.0`. To respect the original image aspect ratio, set
@@ -1045,57 +930,51 @@ public interface ImageOrBuilder
      *
      * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2;
      */
-    com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder
-        getResolutionOrBuilder();
+    com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder getResolutionOrBuilder();
 
     /**
-     *
-     *
      * 
      * Target image opacity. Valid values are from  `1.0` (solid, default) to
      * `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
      * 
* * double alpha = 3; - * * @return The alpha. */ double getAlpha(); } /** - * - * *
    * Overlaid jpeg image.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Overlay.Image} */ - public static final class Image extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Image extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.Overlay.Image) ImageOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Image.newBuilder() to construct. private Image(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Image() { uri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Image(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Image( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1114,43 +993,37 @@ private Image( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - case 18: - { - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder - subBuilder = null; - if (resolution_ != null) { - subBuilder = resolution_.toBuilder(); - } - resolution_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resolution_); - resolution_ = subBuilder.buildPartial(); - } - - break; + uri_ = s; + break; + } + case 18: { + com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder subBuilder = null; + if (resolution_ != null) { + subBuilder = resolution_.toBuilder(); } - case 25: - { - alpha_ = input.readDouble(); - break; + resolution_ = input.readMessage(com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resolution_); + resolution_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 25: { + + alpha_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1158,40 +1031,35 @@ private Image( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_Image_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_Image_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_Image_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_Image_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Overlay.Image.class, - com.google.cloud.video.transcoder.v1.Overlay.Image.Builder.class); + com.google.cloud.video.transcoder.v1.Overlay.Image.class, com.google.cloud.video.transcoder.v1.Overlay.Image.Builder.class); } public static final int URI_FIELD_NUMBER = 1; private volatile java.lang.Object uri_; /** - * - * *
      * Required. URI of the JPEG image in Cloud Storage. For example,
      * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ @java.lang.Override @@ -1200,30 +1068,30 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
      * Required. URI of the JPEG image in Cloud Storage. For example,
      * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1234,8 +1102,6 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int RESOLUTION_FIELD_NUMBER = 2; private com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution_; /** - * - * *
      * Normalized image resolution, based on output video resolution. Valid
      * values: `0.0`–`1.0`. To respect the original image aspect ratio, set
@@ -1244,7 +1110,6 @@ public com.google.protobuf.ByteString getUriBytes() {
      * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2; - * * @return Whether the resolution field is set. */ @java.lang.Override @@ -1252,8 +1117,6 @@ public boolean hasResolution() { return resolution_ != null; } /** - * - * *
      * Normalized image resolution, based on output video resolution. Valid
      * values: `0.0`–`1.0`. To respect the original image aspect ratio, set
@@ -1262,18 +1125,13 @@ public boolean hasResolution() {
      * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2; - * * @return The resolution. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getResolution() { - return resolution_ == null - ? com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.getDefaultInstance() - : resolution_; + return resolution_ == null ? com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.getDefaultInstance() : resolution_; } /** - * - * *
      * Normalized image resolution, based on output video resolution. Valid
      * values: `0.0`–`1.0`. To respect the original image aspect ratio, set
@@ -1284,23 +1142,19 @@ public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getReso
      * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2;
      */
     @java.lang.Override
-    public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder
-        getResolutionOrBuilder() {
+    public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder getResolutionOrBuilder() {
       return getResolution();
     }
 
     public static final int ALPHA_FIELD_NUMBER = 3;
     private double alpha_;
     /**
-     *
-     *
      * 
      * Target image opacity. Valid values are from  `1.0` (solid, default) to
      * `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
      * 
* * double alpha = 3; - * * @return The alpha. */ @java.lang.Override @@ -1309,7 +1163,6 @@ public double getAlpha() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1321,7 +1174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -1344,10 +1198,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_); } if (resolution_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResolution()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getResolution()); } if (java.lang.Double.doubleToRawLongBits(alpha_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, alpha_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(3, alpha_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1357,21 +1213,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.Overlay.Image)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.Overlay.Image other = - (com.google.cloud.video.transcoder.v1.Overlay.Image) obj; + com.google.cloud.video.transcoder.v1.Overlay.Image other = (com.google.cloud.video.transcoder.v1.Overlay.Image) obj; - if (!getUri().equals(other.getUri())) return false; + if (!getUri() + .equals(other.getUri())) return false; if (hasResolution() != other.hasResolution()) return false; if (hasResolution()) { - if (!getResolution().equals(other.getResolution())) return false; + if (!getResolution() + .equals(other.getResolution())) return false; } if (java.lang.Double.doubleToLongBits(getAlpha()) - != java.lang.Double.doubleToLongBits(other.getAlpha())) return false; + != java.lang.Double.doubleToLongBits( + other.getAlpha())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1390,103 +1248,95 @@ public int hashCode() { hash = (53 * hash) + getResolution().hashCode(); } hash = (37 * hash) + ALPHA_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAlpha())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAlpha())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.video.transcoder.v1.Overlay.Image parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Overlay.Image parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Overlay.Image parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Overlay.Image parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Overlay.Image parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Overlay.Image parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.Overlay.Image parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.Overlay.Image parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Overlay.Image parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.Overlay.Image parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.Overlay.Image parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Overlay.Image parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Overlay.Image parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Overlay.Image parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.video.transcoder.v1.Overlay.Image prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1496,32 +1346,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Overlaid jpeg image.
      * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Overlay.Image} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.Overlay.Image) com.google.cloud.video.transcoder.v1.Overlay.ImageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_Image_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_Image_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_Image_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_Image_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Overlay.Image.class, - com.google.cloud.video.transcoder.v1.Overlay.Image.Builder.class); + com.google.cloud.video.transcoder.v1.Overlay.Image.class, com.google.cloud.video.transcoder.v1.Overlay.Image.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.Overlay.Image.newBuilder() @@ -1529,15 +1374,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1555,9 +1401,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_Image_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_Image_descriptor; } @java.lang.Override @@ -1576,8 +1422,7 @@ public com.google.cloud.video.transcoder.v1.Overlay.Image build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.Overlay.Image buildPartial() { - com.google.cloud.video.transcoder.v1.Overlay.Image result = - new com.google.cloud.video.transcoder.v1.Overlay.Image(this); + com.google.cloud.video.transcoder.v1.Overlay.Image result = new com.google.cloud.video.transcoder.v1.Overlay.Image(this); result.uri_ = uri_; if (resolutionBuilder_ == null) { result.resolution_ = resolution_; @@ -1593,41 +1438,38 @@ public com.google.cloud.video.transcoder.v1.Overlay.Image buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.Overlay.Image) { - return mergeFrom((com.google.cloud.video.transcoder.v1.Overlay.Image) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.Overlay.Image)other); } else { super.mergeFrom(other); return this; @@ -1635,8 +1477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.transcoder.v1.Overlay.Image other) { - if (other == com.google.cloud.video.transcoder.v1.Overlay.Image.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.transcoder.v1.Overlay.Image.getDefaultInstance()) return this; if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); @@ -1666,8 +1507,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.Overlay.Image) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.transcoder.v1.Overlay.Image) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1679,21 +1519,19 @@ public Builder mergeFrom( private java.lang.Object uri_ = ""; /** - * - * *
        * Required. URI of the JPEG image in Cloud Storage. For example,
        * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1702,22 +1540,21 @@ public java.lang.String getUri() { } } /** - * - * *
        * Required. URI of the JPEG image in Cloud Storage. For example,
        * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1725,64 +1562,57 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
        * Required. URI of the JPEG image in Cloud Storage. For example,
        * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
        * Required. URI of the JPEG image in Cloud Storage. For example,
        * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
        * Required. URI of the JPEG image in Cloud Storage. For example,
        * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -1790,13 +1620,8 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate, - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder, - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder> - resolutionBuilder_; + com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder> resolutionBuilder_; /** - * - * *
        * Normalized image resolution, based on output video resolution. Valid
        * values: `0.0`–`1.0`. To respect the original image aspect ratio, set
@@ -1805,15 +1630,12 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) {
        * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2; - * * @return Whether the resolution field is set. */ public boolean hasResolution() { return resolutionBuilder_ != null || resolution_ != null; } /** - * - * *
        * Normalized image resolution, based on output video resolution. Valid
        * values: `0.0`–`1.0`. To respect the original image aspect ratio, set
@@ -1822,22 +1644,16 @@ public boolean hasResolution() {
        * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2; - * * @return The resolution. */ public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getResolution() { if (resolutionBuilder_ == null) { - return resolution_ == null - ? com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate - .getDefaultInstance() - : resolution_; + return resolution_ == null ? com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.getDefaultInstance() : resolution_; } else { return resolutionBuilder_.getMessage(); } } /** - * - * *
        * Normalized image resolution, based on output video resolution. Valid
        * values: `0.0`–`1.0`. To respect the original image aspect ratio, set
@@ -1847,8 +1663,7 @@ public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getReso
        *
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2;
        */
-      public Builder setResolution(
-          com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate value) {
+      public Builder setResolution(com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate value) {
         if (resolutionBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1862,8 +1677,6 @@ public Builder setResolution(
         return this;
       }
       /**
-       *
-       *
        * 
        * Normalized image resolution, based on output video resolution. Valid
        * values: `0.0`–`1.0`. To respect the original image aspect ratio, set
@@ -1874,8 +1687,7 @@ public Builder setResolution(
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2;
        */
       public Builder setResolution(
-          com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder
-              builderForValue) {
+          com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder builderForValue) {
         if (resolutionBuilder_ == null) {
           resolution_ = builderForValue.build();
           onChanged();
@@ -1886,8 +1698,6 @@ public Builder setResolution(
         return this;
       }
       /**
-       *
-       *
        * 
        * Normalized image resolution, based on output video resolution. Valid
        * values: `0.0`–`1.0`. To respect the original image aspect ratio, set
@@ -1897,15 +1707,11 @@ public Builder setResolution(
        *
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2;
        */
-      public Builder mergeResolution(
-          com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate value) {
+      public Builder mergeResolution(com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate value) {
         if (resolutionBuilder_ == null) {
           if (resolution_ != null) {
             resolution_ =
-                com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.newBuilder(
-                        resolution_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.newBuilder(resolution_).mergeFrom(value).buildPartial();
           } else {
             resolution_ = value;
           }
@@ -1917,8 +1723,6 @@ public Builder mergeResolution(
         return this;
       }
       /**
-       *
-       *
        * 
        * Normalized image resolution, based on output video resolution. Valid
        * values: `0.0`–`1.0`. To respect the original image aspect ratio, set
@@ -1940,8 +1744,6 @@ public Builder clearResolution() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Normalized image resolution, based on output video resolution. Valid
        * values: `0.0`–`1.0`. To respect the original image aspect ratio, set
@@ -1951,15 +1753,12 @@ public Builder clearResolution() {
        *
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2;
        */
-      public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder
-          getResolutionBuilder() {
-
+      public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder getResolutionBuilder() {
+        
         onChanged();
         return getResolutionFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Normalized image resolution, based on output video resolution. Valid
        * values: `0.0`–`1.0`. To respect the original image aspect ratio, set
@@ -1969,20 +1768,15 @@ public Builder clearResolution() {
        *
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2;
        */
-      public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder
-          getResolutionOrBuilder() {
+      public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder getResolutionOrBuilder() {
         if (resolutionBuilder_ != null) {
           return resolutionBuilder_.getMessageOrBuilder();
         } else {
-          return resolution_ == null
-              ? com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate
-                  .getDefaultInstance()
-              : resolution_;
+          return resolution_ == null ?
+              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.getDefaultInstance() : resolution_;
         }
       }
       /**
-       *
-       *
        * 
        * Normalized image resolution, based on output video resolution. Valid
        * values: `0.0`–`1.0`. To respect the original image aspect ratio, set
@@ -1993,33 +1787,27 @@ public Builder clearResolution() {
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate,
-              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder,
-              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder>
+          com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder> 
           getResolutionFieldBuilder() {
         if (resolutionBuilder_ == null) {
-          resolutionBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate,
-                  com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder,
-                  com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder>(
-                  getResolution(), getParentForChildren(), isClean());
+          resolutionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder>(
+                  getResolution(),
+                  getParentForChildren(),
+                  isClean());
           resolution_ = null;
         }
         return resolutionBuilder_;
       }
 
-      private double alpha_;
+      private double alpha_ ;
       /**
-       *
-       *
        * 
        * Target image opacity. Valid values are from  `1.0` (solid, default) to
        * `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
        * 
* * double alpha = 3; - * * @return The alpha. */ @java.lang.Override @@ -2027,43 +1815,36 @@ public double getAlpha() { return alpha_; } /** - * - * *
        * Target image opacity. Valid values are from  `1.0` (solid, default) to
        * `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
        * 
* * double alpha = 3; - * * @param value The alpha to set. * @return This builder for chaining. */ public Builder setAlpha(double value) { - + alpha_ = value; onChanged(); return this; } /** - * - * *
        * Target image opacity. Valid values are from  `1.0` (solid, default) to
        * `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
        * 
* * double alpha = 3; - * * @return This builder for chaining. */ public Builder clearAlpha() { - + alpha_ = 0D; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2076,12 +1857,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.Overlay.Image) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.Overlay.Image) private static final com.google.cloud.video.transcoder.v1.Overlay.Image DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.Overlay.Image(); } @@ -2090,16 +1871,16 @@ public static com.google.cloud.video.transcoder.v1.Overlay.Image getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Image parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Image(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Image parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Image(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2114,16 +1895,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.Overlay.Image getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AnimationStaticOrBuilder - extends + public interface AnimationStaticOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.Overlay.AnimationStatic) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -2133,13 +1912,10 @@ public interface AnimationStaticOrBuilder
      * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 1; - * * @return Whether the xy field is set. */ boolean hasXy(); /** - * - * *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -2149,13 +1925,10 @@ public interface AnimationStaticOrBuilder
      * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 1; - * * @return The xy. */ com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getXy(); /** - * - * *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -2169,32 +1942,24 @@ public interface AnimationStaticOrBuilder
     com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder getXyOrBuilder();
 
     /**
-     *
-     *
      * 
      * The time to start displaying the overlay object, in seconds. Default: 0
      * 
* * .google.protobuf.Duration start_time_offset = 2; - * * @return Whether the startTimeOffset field is set. */ boolean hasStartTimeOffset(); /** - * - * *
      * The time to start displaying the overlay object, in seconds. Default: 0
      * 
* * .google.protobuf.Duration start_time_offset = 2; - * * @return The startTimeOffset. */ com.google.protobuf.Duration getStartTimeOffset(); /** - * - * *
      * The time to start displaying the overlay object, in seconds. Default: 0
      * 
@@ -2204,37 +1969,36 @@ public interface AnimationStaticOrBuilder com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder(); } /** - * - * *
    * Display static overlay object.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Overlay.AnimationStatic} */ - public static final class AnimationStatic extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AnimationStatic extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.Overlay.AnimationStatic) AnimationStaticOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnimationStatic.newBuilder() to construct. private AnimationStatic(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AnimationStatic() {} + private AnimationStatic() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AnimationStatic(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AnimationStatic( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2253,46 +2017,39 @@ private AnimationStatic( case 0: done = true; break; - case 10: - { - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder - subBuilder = null; - if (xy_ != null) { - subBuilder = xy_.toBuilder(); - } - xy_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(xy_); - xy_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder subBuilder = null; + if (xy_ != null) { + subBuilder = xy_.toBuilder(); } - case 18: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (startTimeOffset_ != null) { - subBuilder = startTimeOffset_.toBuilder(); - } - startTimeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTimeOffset_); - startTimeOffset_ = subBuilder.buildPartial(); - } - - break; + xy_ = input.readMessage(com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(xy_); + xy_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 18: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (startTimeOffset_ != null) { + subBuilder = startTimeOffset_.toBuilder(); + } + startTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTimeOffset_); + startTimeOffset_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2300,33 +2057,29 @@ private AnimationStatic( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationStatic_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationStatic_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationStatic_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationStatic_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.class, - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.Builder.class); + com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.class, com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.Builder.class); } public static final int XY_FIELD_NUMBER = 1; private com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy_; /** - * - * *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -2336,7 +2089,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 1; - * * @return Whether the xy field is set. */ @java.lang.Override @@ -2344,8 +2096,6 @@ public boolean hasXy() { return xy_ != null; } /** - * - * *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -2355,18 +2105,13 @@ public boolean hasXy() {
      * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 1; - * * @return The xy. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getXy() { - return xy_ == null - ? com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.getDefaultInstance() - : xy_; + return xy_ == null ? com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.getDefaultInstance() : xy_; } /** - * - * *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -2378,22 +2123,18 @@ public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getXy()
      * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 1;
      */
     @java.lang.Override
-    public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder
-        getXyOrBuilder() {
+    public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder getXyOrBuilder() {
       return getXy();
     }
 
     public static final int START_TIME_OFFSET_FIELD_NUMBER = 2;
     private com.google.protobuf.Duration startTimeOffset_;
     /**
-     *
-     *
      * 
      * The time to start displaying the overlay object, in seconds. Default: 0
      * 
* * .google.protobuf.Duration start_time_offset = 2; - * * @return Whether the startTimeOffset field is set. */ @java.lang.Override @@ -2401,25 +2142,18 @@ public boolean hasStartTimeOffset() { return startTimeOffset_ != null; } /** - * - * *
      * The time to start displaying the overlay object, in seconds. Default: 0
      * 
* * .google.protobuf.Duration start_time_offset = 2; - * * @return The startTimeOffset. */ @java.lang.Override public com.google.protobuf.Duration getStartTimeOffset() { - return startTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : startTimeOffset_; + return startTimeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTimeOffset_; } /** - * - * *
      * The time to start displaying the overlay object, in seconds. Default: 0
      * 
@@ -2432,7 +2166,6 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2444,7 +2177,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (xy_ != null) { output.writeMessage(1, getXy()); } @@ -2461,10 +2195,12 @@ public int getSerializedSize() { size = 0; if (xy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getXy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getXy()); } if (startTimeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTimeOffset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2474,21 +2210,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic other = - (com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) obj; + com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic other = (com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) obj; if (hasXy() != other.hasXy()) return false; if (hasXy()) { - if (!getXy().equals(other.getXy())) return false; + if (!getXy() + .equals(other.getXy())) return false; } if (hasStartTimeOffset() != other.hasStartTimeOffset()) return false; if (hasStartTimeOffset()) { - if (!getStartTimeOffset().equals(other.getStartTimeOffset())) return false; + if (!getStartTimeOffset() + .equals(other.getStartTimeOffset())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2515,94 +2252,87 @@ public int hashCode() { } public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2612,32 +2342,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Display static overlay object.
      * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Overlay.AnimationStatic} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.Overlay.AnimationStatic) com.google.cloud.video.transcoder.v1.Overlay.AnimationStaticOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationStatic_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationStatic_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationStatic_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationStatic_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.class, - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.Builder.class); + com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.class, com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.newBuilder() @@ -2645,15 +2370,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2673,14 +2399,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationStatic_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationStatic_descriptor; } @java.lang.Override - public com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic - getDefaultInstanceForType() { + public com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic getDefaultInstanceForType() { return com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.getDefaultInstance(); } @@ -2695,8 +2420,7 @@ public com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic buildPartial() { - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic result = - new com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic(this); + com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic result = new com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic(this); if (xyBuilder_ == null) { result.xy_ = xy_; } else { @@ -2715,41 +2439,38 @@ public com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.Overlay.AnimationStatic) { - return mergeFrom((com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic)other); } else { super.mergeFrom(other); return this; @@ -2757,9 +2478,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic other) { - if (other - == com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.getDefaultInstance()) return this; if (other.hasXy()) { mergeXy(other.getXy()); } @@ -2785,9 +2504,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2799,13 +2516,8 @@ public Builder mergeFrom( private com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate, - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder, - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder> - xyBuilder_; + com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder> xyBuilder_; /** - * - * *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -2815,15 +2527,12 @@ public Builder mergeFrom(
        * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 1; - * * @return Whether the xy field is set. */ public boolean hasXy() { return xyBuilder_ != null || xy_ != null; } /** - * - * *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -2833,22 +2542,16 @@ public boolean hasXy() {
        * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 1; - * * @return The xy. */ public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getXy() { if (xyBuilder_ == null) { - return xy_ == null - ? com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate - .getDefaultInstance() - : xy_; + return xy_ == null ? com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.getDefaultInstance() : xy_; } else { return xyBuilder_.getMessage(); } } /** - * - * *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -2859,8 +2562,7 @@ public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getXy()
        *
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 1;
        */
-      public Builder setXy(
-          com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate value) {
+      public Builder setXy(com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate value) {
         if (xyBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2874,8 +2576,6 @@ public Builder setXy(
         return this;
       }
       /**
-       *
-       *
        * 
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -2887,8 +2587,7 @@ public Builder setXy(
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 1;
        */
       public Builder setXy(
-          com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder
-              builderForValue) {
+          com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder builderForValue) {
         if (xyBuilder_ == null) {
           xy_ = builderForValue.build();
           onChanged();
@@ -2899,8 +2598,6 @@ public Builder setXy(
         return this;
       }
       /**
-       *
-       *
        * 
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -2911,14 +2608,11 @@ public Builder setXy(
        *
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 1;
        */
-      public Builder mergeXy(
-          com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate value) {
+      public Builder mergeXy(com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate value) {
         if (xyBuilder_ == null) {
           if (xy_ != null) {
             xy_ =
-                com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.newBuilder(xy_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.newBuilder(xy_).mergeFrom(value).buildPartial();
           } else {
             xy_ = value;
           }
@@ -2930,8 +2624,6 @@ public Builder mergeXy(
         return this;
       }
       /**
-       *
-       *
        * 
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -2954,8 +2646,6 @@ public Builder clearXy() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -2966,15 +2656,12 @@ public Builder clearXy() {
        *
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 1;
        */
-      public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder
-          getXyBuilder() {
-
+      public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder getXyBuilder() {
+        
         onChanged();
         return getXyFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -2985,20 +2672,15 @@ public Builder clearXy() {
        *
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 1;
        */
-      public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder
-          getXyOrBuilder() {
+      public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder getXyOrBuilder() {
         if (xyBuilder_ != null) {
           return xyBuilder_.getMessageOrBuilder();
         } else {
-          return xy_ == null
-              ? com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate
-                  .getDefaultInstance()
-              : xy_;
+          return xy_ == null ?
+              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.getDefaultInstance() : xy_;
         }
       }
       /**
-       *
-       *
        * 
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -3010,17 +2692,14 @@ public Builder clearXy() {
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate,
-              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder,
-              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder>
+          com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder> 
           getXyFieldBuilder() {
         if (xyBuilder_ == null) {
-          xyBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate,
-                  com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder,
-                  com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder>(
-                  getXy(), getParentForChildren(), isClean());
+          xyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder>(
+                  getXy(),
+                  getParentForChildren(),
+                  isClean());
           xy_ = null;
         }
         return xyBuilder_;
@@ -3028,47 +2707,34 @@ public Builder clearXy() {
 
       private com.google.protobuf.Duration startTimeOffset_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
-          startTimeOffsetBuilder_;
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> startTimeOffsetBuilder_;
       /**
-       *
-       *
        * 
        * The time to start displaying the overlay object, in seconds. Default: 0
        * 
* * .google.protobuf.Duration start_time_offset = 2; - * * @return Whether the startTimeOffset field is set. */ public boolean hasStartTimeOffset() { return startTimeOffsetBuilder_ != null || startTimeOffset_ != null; } /** - * - * *
        * The time to start displaying the overlay object, in seconds. Default: 0
        * 
* * .google.protobuf.Duration start_time_offset = 2; - * * @return The startTimeOffset. */ public com.google.protobuf.Duration getStartTimeOffset() { if (startTimeOffsetBuilder_ == null) { - return startTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : startTimeOffset_; + return startTimeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTimeOffset_; } else { return startTimeOffsetBuilder_.getMessage(); } } /** - * - * *
        * The time to start displaying the overlay object, in seconds. Default: 0
        * 
@@ -3089,15 +2755,14 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The time to start displaying the overlay object, in seconds. Default: 0
        * 
* * .google.protobuf.Duration start_time_offset = 2; */ - public Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setStartTimeOffset( + com.google.protobuf.Duration.Builder builderForValue) { if (startTimeOffsetBuilder_ == null) { startTimeOffset_ = builderForValue.build(); onChanged(); @@ -3108,8 +2773,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderFo return this; } /** - * - * *
        * The time to start displaying the overlay object, in seconds. Default: 0
        * 
@@ -3120,9 +2783,7 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) { if (startTimeOffsetBuilder_ == null) { if (startTimeOffset_ != null) { startTimeOffset_ = - com.google.protobuf.Duration.newBuilder(startTimeOffset_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(startTimeOffset_).mergeFrom(value).buildPartial(); } else { startTimeOffset_ = value; } @@ -3134,8 +2795,6 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The time to start displaying the overlay object, in seconds. Default: 0
        * 
@@ -3154,8 +2813,6 @@ public Builder clearStartTimeOffset() { return this; } /** - * - * *
        * The time to start displaying the overlay object, in seconds. Default: 0
        * 
@@ -3163,13 +2820,11 @@ public Builder clearStartTimeOffset() { * .google.protobuf.Duration start_time_offset = 2; */ public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder() { - + onChanged(); return getStartTimeOffsetFieldBuilder().getBuilder(); } /** - * - * *
        * The time to start displaying the overlay object, in seconds. Default: 0
        * 
@@ -3180,14 +2835,11 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() { if (startTimeOffsetBuilder_ != null) { return startTimeOffsetBuilder_.getMessageOrBuilder(); } else { - return startTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : startTimeOffset_; + return startTimeOffset_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : startTimeOffset_; } } /** - * - * *
        * The time to start displaying the overlay object, in seconds. Default: 0
        * 
@@ -3195,22 +2847,18 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() { * .google.protobuf.Duration start_time_offset = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getStartTimeOffsetFieldBuilder() { if (startTimeOffsetBuilder_ == null) { - startTimeOffsetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getStartTimeOffset(), getParentForChildren(), isClean()); + startTimeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getStartTimeOffset(), + getParentForChildren(), + isClean()); startTimeOffset_ = null; } return startTimeOffsetBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3223,32 +2871,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.Overlay.AnimationStatic) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.Overlay.AnimationStatic) - private static final com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic(); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic - getDefaultInstance() { + public static com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnimationStatic parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnimationStatic(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnimationStatic parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnimationStatic(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3260,49 +2906,36 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic - getDefaultInstanceForType() { + public com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AnimationFadeOrBuilder - extends + public interface AnimationFadeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.Overlay.AnimationFade) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
      * 
* - * - * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for fadeType. */ int getFadeTypeValue(); /** - * - * *
      * Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
      * 
* - * - * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The fadeType. */ com.google.cloud.video.transcoder.v1.Overlay.FadeType getFadeType(); /** - * - * *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -3312,13 +2945,10 @@ public interface AnimationFadeOrBuilder
      * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2; - * * @return Whether the xy field is set. */ boolean hasXy(); /** - * - * *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -3328,13 +2958,10 @@ public interface AnimationFadeOrBuilder
      * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2; - * * @return The xy. */ com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getXy(); /** - * - * *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -3348,32 +2975,24 @@ public interface AnimationFadeOrBuilder
     com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder getXyOrBuilder();
 
     /**
-     *
-     *
      * 
      * The time to start the fade animation, in seconds. Default: 0
      * 
* * .google.protobuf.Duration start_time_offset = 3; - * * @return Whether the startTimeOffset field is set. */ boolean hasStartTimeOffset(); /** - * - * *
      * The time to start the fade animation, in seconds. Default: 0
      * 
* * .google.protobuf.Duration start_time_offset = 3; - * * @return The startTimeOffset. */ com.google.protobuf.Duration getStartTimeOffset(); /** - * - * *
      * The time to start the fade animation, in seconds. Default: 0
      * 
@@ -3383,34 +3002,26 @@ public interface AnimationFadeOrBuilder com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder(); /** - * - * *
      * The time to end the fade animation, in seconds. Default:
      * `start_time_offset` + 1s
      * 
* * .google.protobuf.Duration end_time_offset = 4; - * * @return Whether the endTimeOffset field is set. */ boolean hasEndTimeOffset(); /** - * - * *
      * The time to end the fade animation, in seconds. Default:
      * `start_time_offset` + 1s
      * 
* * .google.protobuf.Duration end_time_offset = 4; - * * @return The endTimeOffset. */ com.google.protobuf.Duration getEndTimeOffset(); /** - * - * *
      * The time to end the fade animation, in seconds. Default:
      * `start_time_offset` + 1s
@@ -3421,39 +3032,37 @@ public interface AnimationFadeOrBuilder
     com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Display overlay object with fade animation.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Overlay.AnimationFade} */ - public static final class AnimationFade extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AnimationFade extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.Overlay.AnimationFade) AnimationFadeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnimationFade.newBuilder() to construct. private AnimationFade(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AnimationFade() { fadeType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AnimationFade(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AnimationFade( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3472,68 +3081,58 @@ private AnimationFade( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); + + fadeType_ = rawValue; + break; + } + case 18: { + com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder subBuilder = null; + if (xy_ != null) { + subBuilder = xy_.toBuilder(); + } + xy_ = input.readMessage(com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(xy_); + xy_ = subBuilder.buildPartial(); + } - fadeType_ = rawValue; - break; + break; + } + case 26: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (startTimeOffset_ != null) { + subBuilder = startTimeOffset_.toBuilder(); } - case 18: - { - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder - subBuilder = null; - if (xy_ != null) { - subBuilder = xy_.toBuilder(); - } - xy_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(xy_); - xy_ = subBuilder.buildPartial(); - } - - break; + startTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTimeOffset_); + startTimeOffset_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (startTimeOffset_ != null) { - subBuilder = startTimeOffset_.toBuilder(); - } - startTimeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTimeOffset_); - startTimeOffset_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (endTimeOffset_ != null) { + subBuilder = endTimeOffset_.toBuilder(); } - case 34: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (endTimeOffset_ != null) { - subBuilder = endTimeOffset_.toBuilder(); - } - endTimeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTimeOffset_); - endTimeOffset_ = subBuilder.buildPartial(); - } - - break; + endTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTimeOffset_); + endTimeOffset_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3541,75 +3140,56 @@ private AnimationFade( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationFade_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationFade_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationFade_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationFade_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.class, - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.Builder.class); + com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.class, com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.Builder.class); } public static final int FADE_TYPE_FIELD_NUMBER = 1; private int fadeType_; /** - * - * *
      * Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
      * 
* - * - * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for fadeType. */ - @java.lang.Override - public int getFadeTypeValue() { + @java.lang.Override public int getFadeTypeValue() { return fadeType_; } /** - * - * *
      * Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
      * 
* - * - * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The fadeType. */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Overlay.FadeType getFadeType() { + @java.lang.Override public com.google.cloud.video.transcoder.v1.Overlay.FadeType getFadeType() { @SuppressWarnings("deprecation") - com.google.cloud.video.transcoder.v1.Overlay.FadeType result = - com.google.cloud.video.transcoder.v1.Overlay.FadeType.valueOf(fadeType_); - return result == null - ? com.google.cloud.video.transcoder.v1.Overlay.FadeType.UNRECOGNIZED - : result; + com.google.cloud.video.transcoder.v1.Overlay.FadeType result = com.google.cloud.video.transcoder.v1.Overlay.FadeType.valueOf(fadeType_); + return result == null ? com.google.cloud.video.transcoder.v1.Overlay.FadeType.UNRECOGNIZED : result; } public static final int XY_FIELD_NUMBER = 2; private com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy_; /** - * - * *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -3619,7 +3199,6 @@ public com.google.cloud.video.transcoder.v1.Overlay.FadeType getFadeType() {
      * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2; - * * @return Whether the xy field is set. */ @java.lang.Override @@ -3627,8 +3206,6 @@ public boolean hasXy() { return xy_ != null; } /** - * - * *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -3638,18 +3215,13 @@ public boolean hasXy() {
      * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2; - * * @return The xy. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getXy() { - return xy_ == null - ? com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.getDefaultInstance() - : xy_; + return xy_ == null ? com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.getDefaultInstance() : xy_; } /** - * - * *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -3661,22 +3233,18 @@ public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getXy()
      * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;
      */
     @java.lang.Override
-    public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder
-        getXyOrBuilder() {
+    public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder getXyOrBuilder() {
       return getXy();
     }
 
     public static final int START_TIME_OFFSET_FIELD_NUMBER = 3;
     private com.google.protobuf.Duration startTimeOffset_;
     /**
-     *
-     *
      * 
      * The time to start the fade animation, in seconds. Default: 0
      * 
* * .google.protobuf.Duration start_time_offset = 3; - * * @return Whether the startTimeOffset field is set. */ @java.lang.Override @@ -3684,25 +3252,18 @@ public boolean hasStartTimeOffset() { return startTimeOffset_ != null; } /** - * - * *
      * The time to start the fade animation, in seconds. Default: 0
      * 
* * .google.protobuf.Duration start_time_offset = 3; - * * @return The startTimeOffset. */ @java.lang.Override public com.google.protobuf.Duration getStartTimeOffset() { - return startTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : startTimeOffset_; + return startTimeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTimeOffset_; } /** - * - * *
      * The time to start the fade animation, in seconds. Default: 0
      * 
@@ -3717,15 +3278,12 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() { public static final int END_TIME_OFFSET_FIELD_NUMBER = 4; private com.google.protobuf.Duration endTimeOffset_; /** - * - * *
      * The time to end the fade animation, in seconds. Default:
      * `start_time_offset` + 1s
      * 
* * .google.protobuf.Duration end_time_offset = 4; - * * @return Whether the endTimeOffset field is set. */ @java.lang.Override @@ -3733,26 +3291,19 @@ public boolean hasEndTimeOffset() { return endTimeOffset_ != null; } /** - * - * *
      * The time to end the fade animation, in seconds. Default:
      * `start_time_offset` + 1s
      * 
* * .google.protobuf.Duration end_time_offset = 4; - * * @return The endTimeOffset. */ @java.lang.Override public com.google.protobuf.Duration getEndTimeOffset() { - return endTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : endTimeOffset_; + return endTimeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTimeOffset_; } /** - * - * *
      * The time to end the fade animation, in seconds. Default:
      * `start_time_offset` + 1s
@@ -3766,7 +3317,6 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3778,10 +3328,9 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-      if (fadeType_
-          != com.google.cloud.video.transcoder.v1.Overlay.FadeType.FADE_TYPE_UNSPECIFIED
-              .getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      if (fadeType_ != com.google.cloud.video.transcoder.v1.Overlay.FadeType.FADE_TYPE_UNSPECIFIED.getNumber()) {
         output.writeEnum(1, fadeType_);
       }
       if (xy_ != null) {
@@ -3802,19 +3351,21 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (fadeType_
-          != com.google.cloud.video.transcoder.v1.Overlay.FadeType.FADE_TYPE_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, fadeType_);
+      if (fadeType_ != com.google.cloud.video.transcoder.v1.Overlay.FadeType.FADE_TYPE_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(1, fadeType_);
       }
       if (xy_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getXy());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getXy());
       }
       if (startTimeOffset_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTimeOffset());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, getStartTimeOffset());
       }
       if (endTimeOffset_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTimeOffset());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, getEndTimeOffset());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -3824,26 +3375,28 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.video.transcoder.v1.Overlay.AnimationFade)) {
         return super.equals(obj);
       }
-      com.google.cloud.video.transcoder.v1.Overlay.AnimationFade other =
-          (com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) obj;
+      com.google.cloud.video.transcoder.v1.Overlay.AnimationFade other = (com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) obj;
 
       if (fadeType_ != other.fadeType_) return false;
       if (hasXy() != other.hasXy()) return false;
       if (hasXy()) {
-        if (!getXy().equals(other.getXy())) return false;
+        if (!getXy()
+            .equals(other.getXy())) return false;
       }
       if (hasStartTimeOffset() != other.hasStartTimeOffset()) return false;
       if (hasStartTimeOffset()) {
-        if (!getStartTimeOffset().equals(other.getStartTimeOffset())) return false;
+        if (!getStartTimeOffset()
+            .equals(other.getStartTimeOffset())) return false;
       }
       if (hasEndTimeOffset() != other.hasEndTimeOffset()) return false;
       if (hasEndTimeOffset()) {
-        if (!getEndTimeOffset().equals(other.getEndTimeOffset())) return false;
+        if (!getEndTimeOffset()
+            .equals(other.getEndTimeOffset())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -3876,94 +3429,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.video.transcoder.v1.Overlay.AnimationFade parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.video.transcoder.v1.Overlay.AnimationFade parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.video.transcoder.v1.Overlay.AnimationFade parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.video.transcoder.v1.Overlay.AnimationFade parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.video.transcoder.v1.Overlay.AnimationFade parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.video.transcoder.v1.Overlay.AnimationFade parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.video.transcoder.v1.Overlay.AnimationFade parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.video.transcoder.v1.Overlay.AnimationFade parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.video.transcoder.v1.Overlay.AnimationFade parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.video.transcoder.v1.Overlay.AnimationFade parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.video.transcoder.v1.Overlay.AnimationFade parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.video.transcoder.v1.Overlay.AnimationFade parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.video.transcoder.v1.Overlay.AnimationFade parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.video.transcoder.v1.Overlay.AnimationFade parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.video.transcoder.v1.Overlay.AnimationFade prototype) {
+    public static Builder newBuilder(com.google.cloud.video.transcoder.v1.Overlay.AnimationFade prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3973,32 +3519,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Display overlay object with fade animation.
      * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Overlay.AnimationFade} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.Overlay.AnimationFade) com.google.cloud.video.transcoder.v1.Overlay.AnimationFadeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationFade_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationFade_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationFade_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationFade_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.class, - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.Builder.class); + com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.class, com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.newBuilder() @@ -4006,15 +3547,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4042,14 +3584,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationFade_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationFade_descriptor; } @java.lang.Override - public com.google.cloud.video.transcoder.v1.Overlay.AnimationFade - getDefaultInstanceForType() { + public com.google.cloud.video.transcoder.v1.Overlay.AnimationFade getDefaultInstanceForType() { return com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.getDefaultInstance(); } @@ -4064,8 +3605,7 @@ public com.google.cloud.video.transcoder.v1.Overlay.AnimationFade build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.Overlay.AnimationFade buildPartial() { - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade result = - new com.google.cloud.video.transcoder.v1.Overlay.AnimationFade(this); + com.google.cloud.video.transcoder.v1.Overlay.AnimationFade result = new com.google.cloud.video.transcoder.v1.Overlay.AnimationFade(this); result.fadeType_ = fadeType_; if (xyBuilder_ == null) { result.xy_ = xy_; @@ -4090,41 +3630,38 @@ public com.google.cloud.video.transcoder.v1.Overlay.AnimationFade buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.Overlay.AnimationFade) { - return mergeFrom((com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.Overlay.AnimationFade)other); } else { super.mergeFrom(other); return this; @@ -4132,9 +3669,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.transcoder.v1.Overlay.AnimationFade other) { - if (other - == com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.getDefaultInstance()) return this; if (other.fadeType_ != 0) { setFadeTypeValue(other.getFadeTypeValue()); } @@ -4166,8 +3701,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4179,75 +3713,51 @@ public Builder mergeFrom( private int fadeType_ = 0; /** - * - * *
        * Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
        * 
* - * - * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for fadeType. */ - @java.lang.Override - public int getFadeTypeValue() { + @java.lang.Override public int getFadeTypeValue() { return fadeType_; } /** - * - * *
        * Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
        * 
* - * - * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for fadeType to set. * @return This builder for chaining. */ public Builder setFadeTypeValue(int value) { - + fadeType_ = value; onChanged(); return this; } /** - * - * *
        * Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
        * 
* - * - * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The fadeType. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.Overlay.FadeType getFadeType() { @SuppressWarnings("deprecation") - com.google.cloud.video.transcoder.v1.Overlay.FadeType result = - com.google.cloud.video.transcoder.v1.Overlay.FadeType.valueOf(fadeType_); - return result == null - ? com.google.cloud.video.transcoder.v1.Overlay.FadeType.UNRECOGNIZED - : result; + com.google.cloud.video.transcoder.v1.Overlay.FadeType result = com.google.cloud.video.transcoder.v1.Overlay.FadeType.valueOf(fadeType_); + return result == null ? com.google.cloud.video.transcoder.v1.Overlay.FadeType.UNRECOGNIZED : result; } /** - * - * *
        * Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
        * 
* - * - * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The fadeType to set. * @return This builder for chaining. */ @@ -4255,26 +3765,21 @@ public Builder setFadeType(com.google.cloud.video.transcoder.v1.Overlay.FadeType if (value == null) { throw new NullPointerException(); } - + fadeType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
        * 
* - * - * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearFadeType() { - + fadeType_ = 0; onChanged(); return this; @@ -4282,13 +3787,8 @@ public Builder clearFadeType() { private com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate, - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder, - com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder> - xyBuilder_; + com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder> xyBuilder_; /** - * - * *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -4298,15 +3798,12 @@ public Builder clearFadeType() {
        * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2; - * * @return Whether the xy field is set. */ public boolean hasXy() { return xyBuilder_ != null || xy_ != null; } /** - * - * *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -4316,22 +3813,16 @@ public boolean hasXy() {
        * 
* * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2; - * * @return The xy. */ public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getXy() { if (xyBuilder_ == null) { - return xy_ == null - ? com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate - .getDefaultInstance() - : xy_; + return xy_ == null ? com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.getDefaultInstance() : xy_; } else { return xyBuilder_.getMessage(); } } /** - * - * *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -4342,8 +3833,7 @@ public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate getXy()
        *
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;
        */
-      public Builder setXy(
-          com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate value) {
+      public Builder setXy(com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate value) {
         if (xyBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -4357,8 +3847,6 @@ public Builder setXy(
         return this;
       }
       /**
-       *
-       *
        * 
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -4370,8 +3858,7 @@ public Builder setXy(
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;
        */
       public Builder setXy(
-          com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder
-              builderForValue) {
+          com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder builderForValue) {
         if (xyBuilder_ == null) {
           xy_ = builderForValue.build();
           onChanged();
@@ -4382,8 +3869,6 @@ public Builder setXy(
         return this;
       }
       /**
-       *
-       *
        * 
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -4394,14 +3879,11 @@ public Builder setXy(
        *
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;
        */
-      public Builder mergeXy(
-          com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate value) {
+      public Builder mergeXy(com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate value) {
         if (xyBuilder_ == null) {
           if (xy_ != null) {
             xy_ =
-                com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.newBuilder(xy_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.newBuilder(xy_).mergeFrom(value).buildPartial();
           } else {
             xy_ = value;
           }
@@ -4413,8 +3895,6 @@ public Builder mergeXy(
         return this;
       }
       /**
-       *
-       *
        * 
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -4437,8 +3917,6 @@ public Builder clearXy() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -4449,15 +3927,12 @@ public Builder clearXy() {
        *
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;
        */
-      public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder
-          getXyBuilder() {
-
+      public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder getXyBuilder() {
+        
         onChanged();
         return getXyFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -4468,20 +3943,15 @@ public Builder clearXy() {
        *
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;
        */
-      public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder
-          getXyOrBuilder() {
+      public com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder getXyOrBuilder() {
         if (xyBuilder_ != null) {
           return xyBuilder_.getMessageOrBuilder();
         } else {
-          return xy_ == null
-              ? com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate
-                  .getDefaultInstance()
-              : xy_;
+          return xy_ == null ?
+              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.getDefaultInstance() : xy_;
         }
       }
       /**
-       *
-       *
        * 
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
@@ -4493,17 +3963,14 @@ public Builder clearXy() {
        * .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate,
-              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder,
-              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder>
+          com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder> 
           getXyFieldBuilder() {
         if (xyBuilder_ == null) {
-          xyBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate,
-                  com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder,
-                  com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder>(
-                  getXy(), getParentForChildren(), isClean());
+          xyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate.Builder, com.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinateOrBuilder>(
+                  getXy(),
+                  getParentForChildren(),
+                  isClean());
           xy_ = null;
         }
         return xyBuilder_;
@@ -4511,47 +3978,34 @@ public Builder clearXy() {
 
       private com.google.protobuf.Duration startTimeOffset_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
-          startTimeOffsetBuilder_;
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> startTimeOffsetBuilder_;
       /**
-       *
-       *
        * 
        * The time to start the fade animation, in seconds. Default: 0
        * 
* * .google.protobuf.Duration start_time_offset = 3; - * * @return Whether the startTimeOffset field is set. */ public boolean hasStartTimeOffset() { return startTimeOffsetBuilder_ != null || startTimeOffset_ != null; } /** - * - * *
        * The time to start the fade animation, in seconds. Default: 0
        * 
* * .google.protobuf.Duration start_time_offset = 3; - * * @return The startTimeOffset. */ public com.google.protobuf.Duration getStartTimeOffset() { if (startTimeOffsetBuilder_ == null) { - return startTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : startTimeOffset_; + return startTimeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTimeOffset_; } else { return startTimeOffsetBuilder_.getMessage(); } } /** - * - * *
        * The time to start the fade animation, in seconds. Default: 0
        * 
@@ -4572,15 +4026,14 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The time to start the fade animation, in seconds. Default: 0
        * 
* * .google.protobuf.Duration start_time_offset = 3; */ - public Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setStartTimeOffset( + com.google.protobuf.Duration.Builder builderForValue) { if (startTimeOffsetBuilder_ == null) { startTimeOffset_ = builderForValue.build(); onChanged(); @@ -4591,8 +4044,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderFo return this; } /** - * - * *
        * The time to start the fade animation, in seconds. Default: 0
        * 
@@ -4603,9 +4054,7 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) { if (startTimeOffsetBuilder_ == null) { if (startTimeOffset_ != null) { startTimeOffset_ = - com.google.protobuf.Duration.newBuilder(startTimeOffset_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(startTimeOffset_).mergeFrom(value).buildPartial(); } else { startTimeOffset_ = value; } @@ -4617,8 +4066,6 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The time to start the fade animation, in seconds. Default: 0
        * 
@@ -4637,8 +4084,6 @@ public Builder clearStartTimeOffset() { return this; } /** - * - * *
        * The time to start the fade animation, in seconds. Default: 0
        * 
@@ -4646,13 +4091,11 @@ public Builder clearStartTimeOffset() { * .google.protobuf.Duration start_time_offset = 3; */ public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder() { - + onChanged(); return getStartTimeOffsetFieldBuilder().getBuilder(); } /** - * - * *
        * The time to start the fade animation, in seconds. Default: 0
        * 
@@ -4663,14 +4106,11 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() { if (startTimeOffsetBuilder_ != null) { return startTimeOffsetBuilder_.getMessageOrBuilder(); } else { - return startTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : startTimeOffset_; + return startTimeOffset_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : startTimeOffset_; } } /** - * - * *
        * The time to start the fade animation, in seconds. Default: 0
        * 
@@ -4678,17 +4118,14 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() { * .google.protobuf.Duration start_time_offset = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getStartTimeOffsetFieldBuilder() { if (startTimeOffsetBuilder_ == null) { - startTimeOffsetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getStartTimeOffset(), getParentForChildren(), isClean()); + startTimeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getStartTimeOffset(), + getParentForChildren(), + isClean()); startTimeOffset_ = null; } return startTimeOffsetBuilder_; @@ -4696,49 +4133,36 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() { private com.google.protobuf.Duration endTimeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - endTimeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> endTimeOffsetBuilder_; /** - * - * *
        * The time to end the fade animation, in seconds. Default:
        * `start_time_offset` + 1s
        * 
* * .google.protobuf.Duration end_time_offset = 4; - * * @return Whether the endTimeOffset field is set. */ public boolean hasEndTimeOffset() { return endTimeOffsetBuilder_ != null || endTimeOffset_ != null; } /** - * - * *
        * The time to end the fade animation, in seconds. Default:
        * `start_time_offset` + 1s
        * 
* * .google.protobuf.Duration end_time_offset = 4; - * * @return The endTimeOffset. */ public com.google.protobuf.Duration getEndTimeOffset() { if (endTimeOffsetBuilder_ == null) { - return endTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : endTimeOffset_; + return endTimeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTimeOffset_; } else { return endTimeOffsetBuilder_.getMessage(); } } /** - * - * *
        * The time to end the fade animation, in seconds. Default:
        * `start_time_offset` + 1s
@@ -4760,8 +4184,6 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The time to end the fade animation, in seconds. Default:
        * `start_time_offset` + 1s
@@ -4769,7 +4191,8 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration end_time_offset = 4;
        */
-      public Builder setEndTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setEndTimeOffset(
+          com.google.protobuf.Duration.Builder builderForValue) {
         if (endTimeOffsetBuilder_ == null) {
           endTimeOffset_ = builderForValue.build();
           onChanged();
@@ -4780,8 +4203,6 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration.Builder builderForV
         return this;
       }
       /**
-       *
-       *
        * 
        * The time to end the fade animation, in seconds. Default:
        * `start_time_offset` + 1s
@@ -4793,9 +4214,7 @@ public Builder mergeEndTimeOffset(com.google.protobuf.Duration value) {
         if (endTimeOffsetBuilder_ == null) {
           if (endTimeOffset_ != null) {
             endTimeOffset_ =
-                com.google.protobuf.Duration.newBuilder(endTimeOffset_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.Duration.newBuilder(endTimeOffset_).mergeFrom(value).buildPartial();
           } else {
             endTimeOffset_ = value;
           }
@@ -4807,8 +4226,6 @@ public Builder mergeEndTimeOffset(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The time to end the fade animation, in seconds. Default:
        * `start_time_offset` + 1s
@@ -4828,8 +4245,6 @@ public Builder clearEndTimeOffset() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The time to end the fade animation, in seconds. Default:
        * `start_time_offset` + 1s
@@ -4838,13 +4253,11 @@ public Builder clearEndTimeOffset() {
        * .google.protobuf.Duration end_time_offset = 4;
        */
       public com.google.protobuf.Duration.Builder getEndTimeOffsetBuilder() {
-
+        
         onChanged();
         return getEndTimeOffsetFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The time to end the fade animation, in seconds. Default:
        * `start_time_offset` + 1s
@@ -4856,14 +4269,11 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
         if (endTimeOffsetBuilder_ != null) {
           return endTimeOffsetBuilder_.getMessageOrBuilder();
         } else {
-          return endTimeOffset_ == null
-              ? com.google.protobuf.Duration.getDefaultInstance()
-              : endTimeOffset_;
+          return endTimeOffset_ == null ?
+              com.google.protobuf.Duration.getDefaultInstance() : endTimeOffset_;
         }
       }
       /**
-       *
-       *
        * 
        * The time to end the fade animation, in seconds. Default:
        * `start_time_offset` + 1s
@@ -4872,22 +4282,18 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
        * .google.protobuf.Duration end_time_offset = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
           getEndTimeOffsetFieldBuilder() {
         if (endTimeOffsetBuilder_ == null) {
-          endTimeOffsetBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
-                  getEndTimeOffset(), getParentForChildren(), isClean());
+          endTimeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                  getEndTimeOffset(),
+                  getParentForChildren(),
+                  isClean());
           endTimeOffset_ = null;
         }
         return endTimeOffsetBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4900,13 +4306,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.Overlay.AnimationFade)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.Overlay.AnimationFade)
-    private static final com.google.cloud.video.transcoder.v1.Overlay.AnimationFade
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.video.transcoder.v1.Overlay.AnimationFade DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.Overlay.AnimationFade();
     }
@@ -4915,16 +4320,16 @@ public static com.google.cloud.video.transcoder.v1.Overlay.AnimationFade getDefa
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public AnimationFade parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new AnimationFade(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public AnimationFade parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new AnimationFade(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -4939,40 +4344,32 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.video.transcoder.v1.Overlay.AnimationFade getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface AnimationEndOrBuilder
-      extends
+  public interface AnimationEndOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.Overlay.AnimationEnd)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The time to end overlay object, in seconds. Default: 0
      * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ boolean hasStartTimeOffset(); /** - * - * *
      * The time to end overlay object, in seconds. Default: 0
      * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return The startTimeOffset. */ com.google.protobuf.Duration getStartTimeOffset(); /** - * - * *
      * The time to end overlay object, in seconds. Default: 0
      * 
@@ -4982,8 +4379,6 @@ public interface AnimationEndOrBuilder com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder(); } /** - * - * *
    * End previous overlay animation from the video. Without AnimationEnd, the
    * overlay object will keep the state of previous animation until the end of
@@ -4992,29 +4387,30 @@ public interface AnimationEndOrBuilder
    *
    * Protobuf type {@code google.cloud.video.transcoder.v1.Overlay.AnimationEnd}
    */
-  public static final class AnimationEnd extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AnimationEnd extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.Overlay.AnimationEnd)
       AnimationEndOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AnimationEnd.newBuilder() to construct.
     private AnimationEnd(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private AnimationEnd() {}
+    private AnimationEnd() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AnimationEnd();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private AnimationEnd(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5033,28 +4429,26 @@ private AnimationEnd(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.protobuf.Duration.Builder subBuilder = null;
-                if (startTimeOffset_ != null) {
-                  subBuilder = startTimeOffset_.toBuilder();
-                }
-                startTimeOffset_ =
-                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(startTimeOffset_);
-                  startTimeOffset_ = subBuilder.buildPartial();
-                }
-
-                break;
+            case 10: {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (startTimeOffset_ != null) {
+                subBuilder = startTimeOffset_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              startTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(startTimeOffset_);
+                startTimeOffset_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5062,39 +4456,34 @@ private AnimationEnd(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.video.transcoder.v1.ResourcesProto
-          .internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationEnd_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationEnd_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.transcoder.v1.ResourcesProto
-          .internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationEnd_fieldAccessorTable
+      return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationEnd_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.class,
-              com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.Builder.class);
+              com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.class, com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.Builder.class);
     }
 
     public static final int START_TIME_OFFSET_FIELD_NUMBER = 1;
     private com.google.protobuf.Duration startTimeOffset_;
     /**
-     *
-     *
      * 
      * The time to end overlay object, in seconds. Default: 0
      * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ @java.lang.Override @@ -5102,25 +4491,18 @@ public boolean hasStartTimeOffset() { return startTimeOffset_ != null; } /** - * - * *
      * The time to end overlay object, in seconds. Default: 0
      * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return The startTimeOffset. */ @java.lang.Override public com.google.protobuf.Duration getStartTimeOffset() { - return startTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : startTimeOffset_; + return startTimeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTimeOffset_; } /** - * - * *
      * The time to end overlay object, in seconds. Default: 0
      * 
@@ -5133,7 +4515,6 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5145,7 +4526,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTimeOffset_ != null) { output.writeMessage(1, getStartTimeOffset()); } @@ -5159,7 +4541,8 @@ public int getSerializedSize() { size = 0; if (startTimeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTimeOffset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5169,17 +4552,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd other = - (com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) obj; + com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd other = (com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) obj; if (hasStartTimeOffset() != other.hasStartTimeOffset()) return false; if (hasStartTimeOffset()) { - if (!getStartTimeOffset().equals(other.getStartTimeOffset())) return false; + if (!getStartTimeOffset() + .equals(other.getStartTimeOffset())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -5202,94 +4585,87 @@ public int hashCode() { } public static com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5299,8 +4675,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * End previous overlay animation from the video. Without AnimationEnd, the
      * overlay object will keep the state of previous animation until the end of
@@ -5309,24 +4683,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.video.transcoder.v1.Overlay.AnimationEnd}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.Overlay.AnimationEnd)
         com.google.cloud.video.transcoder.v1.Overlay.AnimationEndOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.video.transcoder.v1.ResourcesProto
-            .internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationEnd_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationEnd_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.video.transcoder.v1.ResourcesProto
-            .internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationEnd_fieldAccessorTable
+        return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationEnd_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.class,
-                com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.Builder.class);
+                com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.class, com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.Builder.class);
       }
 
       // Construct using com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.newBuilder()
@@ -5334,15 +4705,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5356,9 +4728,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.video.transcoder.v1.ResourcesProto
-            .internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationEnd_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_AnimationEnd_descriptor;
       }
 
       @java.lang.Override
@@ -5377,8 +4749,7 @@ public com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd build() {
 
       @java.lang.Override
       public com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd buildPartial() {
-        com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd result =
-            new com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd(this);
+        com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd result = new com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd(this);
         if (startTimeOffsetBuilder_ == null) {
           result.startTimeOffset_ = startTimeOffset_;
         } else {
@@ -5392,41 +4763,38 @@ public com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd buildPartial()
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.video.transcoder.v1.Overlay.AnimationEnd) {
-          return mergeFrom((com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) other);
+          return mergeFrom((com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -5434,8 +4802,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd other) {
-        if (other == com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.getDefaultInstance()) return this;
         if (other.hasStartTimeOffset()) {
           mergeStartTimeOffset(other.getStartTimeOffset());
         }
@@ -5458,8 +4825,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5471,47 +4837,34 @@ public Builder mergeFrom(
 
       private com.google.protobuf.Duration startTimeOffset_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
-          startTimeOffsetBuilder_;
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> startTimeOffsetBuilder_;
       /**
-       *
-       *
        * 
        * The time to end overlay object, in seconds. Default: 0
        * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ public boolean hasStartTimeOffset() { return startTimeOffsetBuilder_ != null || startTimeOffset_ != null; } /** - * - * *
        * The time to end overlay object, in seconds. Default: 0
        * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return The startTimeOffset. */ public com.google.protobuf.Duration getStartTimeOffset() { if (startTimeOffsetBuilder_ == null) { - return startTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : startTimeOffset_; + return startTimeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTimeOffset_; } else { return startTimeOffsetBuilder_.getMessage(); } } /** - * - * *
        * The time to end overlay object, in seconds. Default: 0
        * 
@@ -5532,15 +4885,14 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The time to end overlay object, in seconds. Default: 0
        * 
* * .google.protobuf.Duration start_time_offset = 1; */ - public Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setStartTimeOffset( + com.google.protobuf.Duration.Builder builderForValue) { if (startTimeOffsetBuilder_ == null) { startTimeOffset_ = builderForValue.build(); onChanged(); @@ -5551,8 +4903,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderFo return this; } /** - * - * *
        * The time to end overlay object, in seconds. Default: 0
        * 
@@ -5563,9 +4913,7 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) { if (startTimeOffsetBuilder_ == null) { if (startTimeOffset_ != null) { startTimeOffset_ = - com.google.protobuf.Duration.newBuilder(startTimeOffset_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(startTimeOffset_).mergeFrom(value).buildPartial(); } else { startTimeOffset_ = value; } @@ -5577,8 +4925,6 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The time to end overlay object, in seconds. Default: 0
        * 
@@ -5597,8 +4943,6 @@ public Builder clearStartTimeOffset() { return this; } /** - * - * *
        * The time to end overlay object, in seconds. Default: 0
        * 
@@ -5606,13 +4950,11 @@ public Builder clearStartTimeOffset() { * .google.protobuf.Duration start_time_offset = 1; */ public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder() { - + onChanged(); return getStartTimeOffsetFieldBuilder().getBuilder(); } /** - * - * *
        * The time to end overlay object, in seconds. Default: 0
        * 
@@ -5623,14 +4965,11 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() { if (startTimeOffsetBuilder_ != null) { return startTimeOffsetBuilder_.getMessageOrBuilder(); } else { - return startTimeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : startTimeOffset_; + return startTimeOffset_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : startTimeOffset_; } } /** - * - * *
        * The time to end overlay object, in seconds. Default: 0
        * 
@@ -5638,22 +4977,18 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() { * .google.protobuf.Duration start_time_offset = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getStartTimeOffsetFieldBuilder() { if (startTimeOffsetBuilder_ == null) { - startTimeOffsetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getStartTimeOffset(), getParentForChildren(), isClean()); + startTimeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getStartTimeOffset(), + getParentForChildren(), + isClean()); startTimeOffset_ = null; } return startTimeOffsetBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5666,12 +5001,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.Overlay.AnimationEnd) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.Overlay.AnimationEnd) private static final com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd(); } @@ -5680,16 +5015,16 @@ public static com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnimationEnd parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnimationEnd(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnimationEnd parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnimationEnd(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5704,76 +5039,59 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AnimationOrBuilder - extends + public interface AnimationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.Overlay.Animation) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Display static overlay object.
      * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; - * * @return Whether the animationStatic field is set. */ boolean hasAnimationStatic(); /** - * - * *
      * Display static overlay object.
      * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; - * * @return The animationStatic. */ com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic getAnimationStatic(); /** - * - * *
      * Display static overlay object.
      * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; */ - com.google.cloud.video.transcoder.v1.Overlay.AnimationStaticOrBuilder - getAnimationStaticOrBuilder(); + com.google.cloud.video.transcoder.v1.Overlay.AnimationStaticOrBuilder getAnimationStaticOrBuilder(); /** - * - * *
      * Display overlay object with fade animation.
      * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationFade animation_fade = 2; - * * @return Whether the animationFade field is set. */ boolean hasAnimationFade(); /** - * - * *
      * Display overlay object with fade animation.
      * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationFade animation_fade = 2; - * * @return The animationFade. */ com.google.cloud.video.transcoder.v1.Overlay.AnimationFade getAnimationFade(); /** - * - * *
      * Display overlay object with fade animation.
      * 
@@ -5783,32 +5101,24 @@ public interface AnimationOrBuilder com.google.cloud.video.transcoder.v1.Overlay.AnimationFadeOrBuilder getAnimationFadeOrBuilder(); /** - * - * *
      * End previous animation.
      * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationEnd animation_end = 3; - * * @return Whether the animationEnd field is set. */ boolean hasAnimationEnd(); /** - * - * *
      * End previous animation.
      * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationEnd animation_end = 3; - * * @return The animationEnd. */ com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd getAnimationEnd(); /** - * - * *
      * End previous animation.
      * 
@@ -5817,41 +5127,39 @@ public interface AnimationOrBuilder */ com.google.cloud.video.transcoder.v1.Overlay.AnimationEndOrBuilder getAnimationEndOrBuilder(); - public com.google.cloud.video.transcoder.v1.Overlay.Animation.AnimationTypeCase - getAnimationTypeCase(); + public com.google.cloud.video.transcoder.v1.Overlay.Animation.AnimationTypeCase getAnimationTypeCase(); } /** - * - * *
    * Animation types.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Overlay.Animation} */ - public static final class Animation extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Animation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.Overlay.Animation) AnimationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Animation.newBuilder() to construct. private Animation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Animation() {} + private Animation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Animation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Animation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5870,77 +5178,55 @@ private Animation( case 0: done = true; break; - case 10: - { - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.Builder subBuilder = - null; - if (animationTypeCase_ == 1) { - subBuilder = - ((com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) - animationType_) - .toBuilder(); - } - animationType_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) - animationType_); - animationType_ = subBuilder.buildPartial(); - } - animationTypeCase_ = 1; - break; + case 10: { + com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.Builder subBuilder = null; + if (animationTypeCase_ == 1) { + subBuilder = ((com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) animationType_).toBuilder(); } - case 18: - { - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.Builder subBuilder = - null; - if (animationTypeCase_ == 2) { - subBuilder = - ((com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) animationType_) - .toBuilder(); - } - animationType_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) animationType_); - animationType_ = subBuilder.buildPartial(); - } - animationTypeCase_ = 2; - break; + animationType_ = + input.readMessage(com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) animationType_); + animationType_ = subBuilder.buildPartial(); + } + animationTypeCase_ = 1; + break; + } + case 18: { + com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.Builder subBuilder = null; + if (animationTypeCase_ == 2) { + subBuilder = ((com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) animationType_).toBuilder(); + } + animationType_ = + input.readMessage(com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) animationType_); + animationType_ = subBuilder.buildPartial(); + } + animationTypeCase_ = 2; + break; + } + case 26: { + com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.Builder subBuilder = null; + if (animationTypeCase_ == 3) { + subBuilder = ((com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) animationType_).toBuilder(); } - case 26: - { - com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.Builder subBuilder = null; - if (animationTypeCase_ == 3) { - subBuilder = - ((com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) animationType_) - .toBuilder(); - } - animationType_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) animationType_); - animationType_ = subBuilder.buildPartial(); - } - animationTypeCase_ = 3; - break; + animationType_ = + input.readMessage(com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) animationType_); + animationType_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + animationTypeCase_ = 3; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5948,41 +5234,36 @@ private Animation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_Animation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_Animation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_Animation_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_Animation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Overlay.Animation.class, - com.google.cloud.video.transcoder.v1.Overlay.Animation.Builder.class); + com.google.cloud.video.transcoder.v1.Overlay.Animation.class, com.google.cloud.video.transcoder.v1.Overlay.Animation.Builder.class); } private int animationTypeCase_ = 0; private java.lang.Object animationType_; - public enum AnimationTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ANIMATION_STATIC(1), ANIMATION_FADE(2), ANIMATION_END(3), ANIMATIONTYPE_NOT_SET(0); private final int value; - private AnimationTypeCase(int value) { this.value = value; } @@ -5998,38 +5279,31 @@ public static AnimationTypeCase valueOf(int value) { public static AnimationTypeCase forNumber(int value) { switch (value) { - case 1: - return ANIMATION_STATIC; - case 2: - return ANIMATION_FADE; - case 3: - return ANIMATION_END; - case 0: - return ANIMATIONTYPE_NOT_SET; - default: - return null; + case 1: return ANIMATION_STATIC; + case 2: return ANIMATION_FADE; + case 3: return ANIMATION_END; + case 0: return ANIMATIONTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public AnimationTypeCase getAnimationTypeCase() { - return AnimationTypeCase.forNumber(animationTypeCase_); + public AnimationTypeCase + getAnimationTypeCase() { + return AnimationTypeCase.forNumber( + animationTypeCase_); } public static final int ANIMATION_STATIC_FIELD_NUMBER = 1; /** - * - * *
      * Display static overlay object.
      * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; - * * @return Whether the animationStatic field is set. */ @java.lang.Override @@ -6037,26 +5311,21 @@ public boolean hasAnimationStatic() { return animationTypeCase_ == 1; } /** - * - * *
      * Display static overlay object.
      * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; - * * @return The animationStatic. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic getAnimationStatic() { if (animationTypeCase_ == 1) { - return (com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) animationType_; + return (com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) animationType_; } return com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.getDefaultInstance(); } /** - * - * *
      * Display static overlay object.
      * 
@@ -6064,24 +5333,20 @@ public com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic getAnimation * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; */ @java.lang.Override - public com.google.cloud.video.transcoder.v1.Overlay.AnimationStaticOrBuilder - getAnimationStaticOrBuilder() { + public com.google.cloud.video.transcoder.v1.Overlay.AnimationStaticOrBuilder getAnimationStaticOrBuilder() { if (animationTypeCase_ == 1) { - return (com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) animationType_; + return (com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) animationType_; } return com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.getDefaultInstance(); } public static final int ANIMATION_FADE_FIELD_NUMBER = 2; /** - * - * *
      * Display overlay object with fade animation.
      * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationFade animation_fade = 2; - * * @return Whether the animationFade field is set. */ @java.lang.Override @@ -6089,26 +5354,21 @@ public boolean hasAnimationFade() { return animationTypeCase_ == 2; } /** - * - * *
      * Display overlay object with fade animation.
      * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationFade animation_fade = 2; - * * @return The animationFade. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.Overlay.AnimationFade getAnimationFade() { if (animationTypeCase_ == 2) { - return (com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) animationType_; + return (com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) animationType_; } return com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.getDefaultInstance(); } /** - * - * *
      * Display overlay object with fade animation.
      * 
@@ -6116,24 +5376,20 @@ public com.google.cloud.video.transcoder.v1.Overlay.AnimationFade getAnimationFa * .google.cloud.video.transcoder.v1.Overlay.AnimationFade animation_fade = 2; */ @java.lang.Override - public com.google.cloud.video.transcoder.v1.Overlay.AnimationFadeOrBuilder - getAnimationFadeOrBuilder() { + public com.google.cloud.video.transcoder.v1.Overlay.AnimationFadeOrBuilder getAnimationFadeOrBuilder() { if (animationTypeCase_ == 2) { - return (com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) animationType_; + return (com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) animationType_; } return com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.getDefaultInstance(); } public static final int ANIMATION_END_FIELD_NUMBER = 3; /** - * - * *
      * End previous animation.
      * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationEnd animation_end = 3; - * * @return Whether the animationEnd field is set. */ @java.lang.Override @@ -6141,26 +5397,21 @@ public boolean hasAnimationEnd() { return animationTypeCase_ == 3; } /** - * - * *
      * End previous animation.
      * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationEnd animation_end = 3; - * * @return The animationEnd. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd getAnimationEnd() { if (animationTypeCase_ == 3) { - return (com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) animationType_; + return (com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) animationType_; } return com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.getDefaultInstance(); } /** - * - * *
      * End previous animation.
      * 
@@ -6168,16 +5419,14 @@ public com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd getAnimationEnd * .google.cloud.video.transcoder.v1.Overlay.AnimationEnd animation_end = 3; */ @java.lang.Override - public com.google.cloud.video.transcoder.v1.Overlay.AnimationEndOrBuilder - getAnimationEndOrBuilder() { + public com.google.cloud.video.transcoder.v1.Overlay.AnimationEndOrBuilder getAnimationEndOrBuilder() { if (animationTypeCase_ == 3) { - return (com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) animationType_; + return (com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) animationType_; } return com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6189,18 +5438,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (animationTypeCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) animationType_); + output.writeMessage(1, (com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) animationType_); } if (animationTypeCase_ == 2) { - output.writeMessage( - 2, (com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) animationType_); + output.writeMessage(2, (com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) animationType_); } if (animationTypeCase_ == 3) { - output.writeMessage( - 3, (com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) animationType_); + output.writeMessage(3, (com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) animationType_); } unknownFields.writeTo(output); } @@ -6212,19 +5459,16 @@ public int getSerializedSize() { size = 0; if (animationTypeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) animationType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) animationType_); } if (animationTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) animationType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) animationType_); } if (animationTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) animationType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) animationType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6234,24 +5478,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.Overlay.Animation)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.Overlay.Animation other = - (com.google.cloud.video.transcoder.v1.Overlay.Animation) obj; + com.google.cloud.video.transcoder.v1.Overlay.Animation other = (com.google.cloud.video.transcoder.v1.Overlay.Animation) obj; if (!getAnimationTypeCase().equals(other.getAnimationTypeCase())) return false; switch (animationTypeCase_) { case 1: - if (!getAnimationStatic().equals(other.getAnimationStatic())) return false; + if (!getAnimationStatic() + .equals(other.getAnimationStatic())) return false; break; case 2: - if (!getAnimationFade().equals(other.getAnimationFade())) return false; + if (!getAnimationFade() + .equals(other.getAnimationFade())) return false; break; case 3: - if (!getAnimationEnd().equals(other.getAnimationEnd())) return false; + if (!getAnimationEnd() + .equals(other.getAnimationEnd())) return false; break; case 0: default: @@ -6289,94 +5535,87 @@ public int hashCode() { } public static com.google.cloud.video.transcoder.v1.Overlay.Animation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Overlay.Animation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Overlay.Animation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Overlay.Animation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Overlay.Animation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.Overlay.Animation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.Overlay.Animation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.Overlay.Animation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Overlay.Animation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.Overlay.Animation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.Overlay.Animation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Overlay.Animation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.Overlay.Animation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.Overlay.Animation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.Overlay.Animation prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.Overlay.Animation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6386,32 +5625,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Animation types.
      * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Overlay.Animation} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.Overlay.Animation) com.google.cloud.video.transcoder.v1.Overlay.AnimationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_Animation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_Animation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_Animation_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_Animation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Overlay.Animation.class, - com.google.cloud.video.transcoder.v1.Overlay.Animation.Builder.class); + com.google.cloud.video.transcoder.v1.Overlay.Animation.class, com.google.cloud.video.transcoder.v1.Overlay.Animation.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.Overlay.Animation.newBuilder() @@ -6419,15 +5653,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -6437,9 +5672,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_Animation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_Animation_descriptor; } @java.lang.Override @@ -6458,8 +5693,7 @@ public com.google.cloud.video.transcoder.v1.Overlay.Animation build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.Overlay.Animation buildPartial() { - com.google.cloud.video.transcoder.v1.Overlay.Animation result = - new com.google.cloud.video.transcoder.v1.Overlay.Animation(this); + com.google.cloud.video.transcoder.v1.Overlay.Animation result = new com.google.cloud.video.transcoder.v1.Overlay.Animation(this); if (animationTypeCase_ == 1) { if (animationStaticBuilder_ == null) { result.animationType_ = animationType_; @@ -6490,41 +5724,38 @@ public com.google.cloud.video.transcoder.v1.Overlay.Animation buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.Overlay.Animation) { - return mergeFrom((com.google.cloud.video.transcoder.v1.Overlay.Animation) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.Overlay.Animation)other); } else { super.mergeFrom(other); return this; @@ -6532,28 +5763,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.video.transcoder.v1.Overlay.Animation other) { - if (other == com.google.cloud.video.transcoder.v1.Overlay.Animation.getDefaultInstance()) - return this; + if (other == com.google.cloud.video.transcoder.v1.Overlay.Animation.getDefaultInstance()) return this; switch (other.getAnimationTypeCase()) { - case ANIMATION_STATIC: - { - mergeAnimationStatic(other.getAnimationStatic()); - break; - } - case ANIMATION_FADE: - { - mergeAnimationFade(other.getAnimationFade()); - break; - } - case ANIMATION_END: - { - mergeAnimationEnd(other.getAnimationEnd()); - break; - } - case ANIMATIONTYPE_NOT_SET: - { - break; - } + case ANIMATION_STATIC: { + mergeAnimationStatic(other.getAnimationStatic()); + break; + } + case ANIMATION_FADE: { + mergeAnimationFade(other.getAnimationFade()); + break; + } + case ANIMATION_END: { + mergeAnimationEnd(other.getAnimationEnd()); + break; + } + case ANIMATIONTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -6574,8 +5800,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.Overlay.Animation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.transcoder.v1.Overlay.Animation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6584,12 +5809,12 @@ public Builder mergeFrom( } return this; } - private int animationTypeCase_ = 0; private java.lang.Object animationType_; - - public AnimationTypeCase getAnimationTypeCase() { - return AnimationTypeCase.forNumber(animationTypeCase_); + public AnimationTypeCase + getAnimationTypeCase() { + return AnimationTypeCase.forNumber( + animationTypeCase_); } public Builder clearAnimationType() { @@ -6599,21 +5824,15 @@ public Builder clearAnimationType() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic, - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.Builder, - com.google.cloud.video.transcoder.v1.Overlay.AnimationStaticOrBuilder> - animationStaticBuilder_; + com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic, com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.Builder, com.google.cloud.video.transcoder.v1.Overlay.AnimationStaticOrBuilder> animationStaticBuilder_; /** - * - * *
        * Display static overlay object.
        * 
* - * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; - * - * + * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; * @return Whether the animationStatic field is set. */ @java.lang.Override @@ -6621,15 +5840,11 @@ public boolean hasAnimationStatic() { return animationTypeCase_ == 1; } /** - * - * *
        * Display static overlay object.
        * 
* - * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; - * - * + * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; * @return The animationStatic. */ @java.lang.Override @@ -6647,17 +5862,13 @@ public com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic getAnimation } } /** - * - * *
        * Display static overlay object.
        * 
* - * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; - * + * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; */ - public Builder setAnimationStatic( - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic value) { + public Builder setAnimationStatic(com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic value) { if (animationStaticBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6671,14 +5882,11 @@ public Builder setAnimationStatic( return this; } /** - * - * *
        * Display static overlay object.
        * 
* - * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; - * + * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; */ public Builder setAnimationStatic( com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.Builder builderForValue) { @@ -6692,28 +5900,18 @@ public Builder setAnimationStatic( return this; } /** - * - * *
        * Display static overlay object.
        * 
* - * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; - * + * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; */ - public Builder mergeAnimationStatic( - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic value) { + public Builder mergeAnimationStatic(com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic value) { if (animationStaticBuilder_ == null) { - if (animationTypeCase_ == 1 - && animationType_ - != com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic - .getDefaultInstance()) { - animationType_ = - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.newBuilder( - (com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) - animationType_) - .mergeFrom(value) - .buildPartial(); + if (animationTypeCase_ == 1 && + animationType_ != com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.getDefaultInstance()) { + animationType_ = com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.newBuilder((com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) animationType_) + .mergeFrom(value).buildPartial(); } else { animationType_ = value; } @@ -6729,14 +5927,11 @@ public Builder mergeAnimationStatic( return this; } /** - * - * *
        * Display static overlay object.
        * 
* - * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; - * + * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; */ public Builder clearAnimationStatic() { if (animationStaticBuilder_ == null) { @@ -6755,32 +5950,24 @@ public Builder clearAnimationStatic() { return this; } /** - * - * *
        * Display static overlay object.
        * 
* - * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; - * + * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; */ - public com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.Builder - getAnimationStaticBuilder() { + public com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.Builder getAnimationStaticBuilder() { return getAnimationStaticFieldBuilder().getBuilder(); } /** - * - * *
        * Display static overlay object.
        * 
* - * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; - * + * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; */ @java.lang.Override - public com.google.cloud.video.transcoder.v1.Overlay.AnimationStaticOrBuilder - getAnimationStaticOrBuilder() { + public com.google.cloud.video.transcoder.v1.Overlay.AnimationStaticOrBuilder getAnimationStaticOrBuilder() { if ((animationTypeCase_ == 1) && (animationStaticBuilder_ != null)) { return animationStaticBuilder_.getMessageOrBuilder(); } else { @@ -6791,55 +5978,39 @@ public Builder clearAnimationStatic() { } } /** - * - * *
        * Display static overlay object.
        * 
* - * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; - * + * .google.cloud.video.transcoder.v1.Overlay.AnimationStatic animation_static = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic, - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.Builder, - com.google.cloud.video.transcoder.v1.Overlay.AnimationStaticOrBuilder> + com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic, com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.Builder, com.google.cloud.video.transcoder.v1.Overlay.AnimationStaticOrBuilder> getAnimationStaticFieldBuilder() { if (animationStaticBuilder_ == null) { if (!(animationTypeCase_ == 1)) { - animationType_ = - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.getDefaultInstance(); + animationType_ = com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.getDefaultInstance(); } - animationStaticBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic, - com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.Builder, - com.google.cloud.video.transcoder.v1.Overlay.AnimationStaticOrBuilder>( + animationStaticBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic, com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic.Builder, com.google.cloud.video.transcoder.v1.Overlay.AnimationStaticOrBuilder>( (com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) animationType_, getParentForChildren(), isClean()); animationType_ = null; } animationTypeCase_ = 1; - onChanged(); - ; + onChanged();; return animationStaticBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade, - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.Builder, - com.google.cloud.video.transcoder.v1.Overlay.AnimationFadeOrBuilder> - animationFadeBuilder_; + com.google.cloud.video.transcoder.v1.Overlay.AnimationFade, com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.Builder, com.google.cloud.video.transcoder.v1.Overlay.AnimationFadeOrBuilder> animationFadeBuilder_; /** - * - * *
        * Display overlay object with fade animation.
        * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationFade animation_fade = 2; - * * @return Whether the animationFade field is set. */ @java.lang.Override @@ -6847,14 +6018,11 @@ public boolean hasAnimationFade() { return animationTypeCase_ == 2; } /** - * - * *
        * Display overlay object with fade animation.
        * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationFade animation_fade = 2; - * * @return The animationFade. */ @java.lang.Override @@ -6872,16 +6040,13 @@ public com.google.cloud.video.transcoder.v1.Overlay.AnimationFade getAnimationFa } } /** - * - * *
        * Display overlay object with fade animation.
        * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationFade animation_fade = 2; */ - public Builder setAnimationFade( - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade value) { + public Builder setAnimationFade(com.google.cloud.video.transcoder.v1.Overlay.AnimationFade value) { if (animationFadeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6895,8 +6060,6 @@ public Builder setAnimationFade( return this; } /** - * - * *
        * Display overlay object with fade animation.
        * 
@@ -6915,26 +6078,18 @@ public Builder setAnimationFade( return this; } /** - * - * *
        * Display overlay object with fade animation.
        * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationFade animation_fade = 2; */ - public Builder mergeAnimationFade( - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade value) { + public Builder mergeAnimationFade(com.google.cloud.video.transcoder.v1.Overlay.AnimationFade value) { if (animationFadeBuilder_ == null) { - if (animationTypeCase_ == 2 - && animationType_ - != com.google.cloud.video.transcoder.v1.Overlay.AnimationFade - .getDefaultInstance()) { - animationType_ = - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.newBuilder( - (com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) animationType_) - .mergeFrom(value) - .buildPartial(); + if (animationTypeCase_ == 2 && + animationType_ != com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.getDefaultInstance()) { + animationType_ = com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.newBuilder((com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) animationType_) + .mergeFrom(value).buildPartial(); } else { animationType_ = value; } @@ -6950,8 +6105,6 @@ public Builder mergeAnimationFade( return this; } /** - * - * *
        * Display overlay object with fade animation.
        * 
@@ -6975,21 +6128,16 @@ public Builder clearAnimationFade() { return this; } /** - * - * *
        * Display overlay object with fade animation.
        * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationFade animation_fade = 2; */ - public com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.Builder - getAnimationFadeBuilder() { + public com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.Builder getAnimationFadeBuilder() { return getAnimationFadeFieldBuilder().getBuilder(); } /** - * - * *
        * Display overlay object with fade animation.
        * 
@@ -6997,8 +6145,7 @@ public Builder clearAnimationFade() { * .google.cloud.video.transcoder.v1.Overlay.AnimationFade animation_fade = 2; */ @java.lang.Override - public com.google.cloud.video.transcoder.v1.Overlay.AnimationFadeOrBuilder - getAnimationFadeOrBuilder() { + public com.google.cloud.video.transcoder.v1.Overlay.AnimationFadeOrBuilder getAnimationFadeOrBuilder() { if ((animationTypeCase_ == 2) && (animationFadeBuilder_ != null)) { return animationFadeBuilder_.getMessageOrBuilder(); } else { @@ -7009,8 +6156,6 @@ public Builder clearAnimationFade() { } } /** - * - * *
        * Display overlay object with fade animation.
        * 
@@ -7018,45 +6163,32 @@ public Builder clearAnimationFade() { * .google.cloud.video.transcoder.v1.Overlay.AnimationFade animation_fade = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade, - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.Builder, - com.google.cloud.video.transcoder.v1.Overlay.AnimationFadeOrBuilder> + com.google.cloud.video.transcoder.v1.Overlay.AnimationFade, com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.Builder, com.google.cloud.video.transcoder.v1.Overlay.AnimationFadeOrBuilder> getAnimationFadeFieldBuilder() { if (animationFadeBuilder_ == null) { if (!(animationTypeCase_ == 2)) { - animationType_ = - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.getDefaultInstance(); + animationType_ = com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.getDefaultInstance(); } - animationFadeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade, - com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.Builder, - com.google.cloud.video.transcoder.v1.Overlay.AnimationFadeOrBuilder>( + animationFadeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.transcoder.v1.Overlay.AnimationFade, com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.Builder, com.google.cloud.video.transcoder.v1.Overlay.AnimationFadeOrBuilder>( (com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) animationType_, getParentForChildren(), isClean()); animationType_ = null; } animationTypeCase_ = 2; - onChanged(); - ; + onChanged();; return animationFadeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd, - com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.Builder, - com.google.cloud.video.transcoder.v1.Overlay.AnimationEndOrBuilder> - animationEndBuilder_; + com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd, com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.Builder, com.google.cloud.video.transcoder.v1.Overlay.AnimationEndOrBuilder> animationEndBuilder_; /** - * - * *
        * End previous animation.
        * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationEnd animation_end = 3; - * * @return Whether the animationEnd field is set. */ @java.lang.Override @@ -7064,14 +6196,11 @@ public boolean hasAnimationEnd() { return animationTypeCase_ == 3; } /** - * - * *
        * End previous animation.
        * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationEnd animation_end = 3; - * * @return The animationEnd. */ @java.lang.Override @@ -7089,16 +6218,13 @@ public com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd getAnimationEnd } } /** - * - * *
        * End previous animation.
        * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationEnd animation_end = 3; */ - public Builder setAnimationEnd( - com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd value) { + public Builder setAnimationEnd(com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd value) { if (animationEndBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7112,8 +6238,6 @@ public Builder setAnimationEnd( return this; } /** - * - * *
        * End previous animation.
        * 
@@ -7132,26 +6256,18 @@ public Builder setAnimationEnd( return this; } /** - * - * *
        * End previous animation.
        * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationEnd animation_end = 3; */ - public Builder mergeAnimationEnd( - com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd value) { + public Builder mergeAnimationEnd(com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd value) { if (animationEndBuilder_ == null) { - if (animationTypeCase_ == 3 - && animationType_ - != com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd - .getDefaultInstance()) { - animationType_ = - com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.newBuilder( - (com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) animationType_) - .mergeFrom(value) - .buildPartial(); + if (animationTypeCase_ == 3 && + animationType_ != com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.getDefaultInstance()) { + animationType_ = com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.newBuilder((com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) animationType_) + .mergeFrom(value).buildPartial(); } else { animationType_ = value; } @@ -7167,8 +6283,6 @@ public Builder mergeAnimationEnd( return this; } /** - * - * *
        * End previous animation.
        * 
@@ -7192,21 +6306,16 @@ public Builder clearAnimationEnd() { return this; } /** - * - * *
        * End previous animation.
        * 
* * .google.cloud.video.transcoder.v1.Overlay.AnimationEnd animation_end = 3; */ - public com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.Builder - getAnimationEndBuilder() { + public com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.Builder getAnimationEndBuilder() { return getAnimationEndFieldBuilder().getBuilder(); } /** - * - * *
        * End previous animation.
        * 
@@ -7214,8 +6323,7 @@ public Builder clearAnimationEnd() { * .google.cloud.video.transcoder.v1.Overlay.AnimationEnd animation_end = 3; */ @java.lang.Override - public com.google.cloud.video.transcoder.v1.Overlay.AnimationEndOrBuilder - getAnimationEndOrBuilder() { + public com.google.cloud.video.transcoder.v1.Overlay.AnimationEndOrBuilder getAnimationEndOrBuilder() { if ((animationTypeCase_ == 3) && (animationEndBuilder_ != null)) { return animationEndBuilder_.getMessageOrBuilder(); } else { @@ -7226,8 +6334,6 @@ public Builder clearAnimationEnd() { } } /** - * - * *
        * End previous animation.
        * 
@@ -7235,31 +6341,23 @@ public Builder clearAnimationEnd() { * .google.cloud.video.transcoder.v1.Overlay.AnimationEnd animation_end = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd, - com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.Builder, - com.google.cloud.video.transcoder.v1.Overlay.AnimationEndOrBuilder> + com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd, com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.Builder, com.google.cloud.video.transcoder.v1.Overlay.AnimationEndOrBuilder> getAnimationEndFieldBuilder() { if (animationEndBuilder_ == null) { if (!(animationTypeCase_ == 3)) { - animationType_ = - com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.getDefaultInstance(); + animationType_ = com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.getDefaultInstance(); } - animationEndBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd, - com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.Builder, - com.google.cloud.video.transcoder.v1.Overlay.AnimationEndOrBuilder>( + animationEndBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd, com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd.Builder, com.google.cloud.video.transcoder.v1.Overlay.AnimationEndOrBuilder>( (com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) animationType_, getParentForChildren(), isClean()); animationType_ = null; } animationTypeCase_ = 3; - onChanged(); - ; + onChanged();; return animationEndBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7272,12 +6370,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.Overlay.Animation) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.Overlay.Animation) private static final com.google.cloud.video.transcoder.v1.Overlay.Animation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.Overlay.Animation(); } @@ -7286,16 +6384,16 @@ public static com.google.cloud.video.transcoder.v1.Overlay.Animation getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Animation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Animation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Animation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Animation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7310,19 +6408,17 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.video.transcoder.v1.Overlay.Animation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int IMAGE_FIELD_NUMBER = 1; private com.google.cloud.video.transcoder.v1.Overlay.Image image_; /** - * - * *
    * Image overlay.
    * 
* * .google.cloud.video.transcoder.v1.Overlay.Image image = 1; - * * @return Whether the image field is set. */ @java.lang.Override @@ -7330,25 +6426,18 @@ public boolean hasImage() { return image_ != null; } /** - * - * *
    * Image overlay.
    * 
* * .google.cloud.video.transcoder.v1.Overlay.Image image = 1; - * * @return The image. */ @java.lang.Override public com.google.cloud.video.transcoder.v1.Overlay.Image getImage() { - return image_ == null - ? com.google.cloud.video.transcoder.v1.Overlay.Image.getDefaultInstance() - : image_; + return image_ == null ? com.google.cloud.video.transcoder.v1.Overlay.Image.getDefaultInstance() : image_; } /** - * - * *
    * Image overlay.
    * 
@@ -7363,8 +6452,6 @@ public com.google.cloud.video.transcoder.v1.Overlay.ImageOrBuilder getImageOrBui public static final int ANIMATIONS_FIELD_NUMBER = 2; private java.util.List animations_; /** - * - * *
    * List of Animations. The list should be chronological, without any time
    * overlap.
@@ -7373,13 +6460,10 @@ public com.google.cloud.video.transcoder.v1.Overlay.ImageOrBuilder getImageOrBui
    * repeated .google.cloud.video.transcoder.v1.Overlay.Animation animations = 2;
    */
   @java.lang.Override
-  public java.util.List
-      getAnimationsList() {
+  public java.util.List getAnimationsList() {
     return animations_;
   }
   /**
-   *
-   *
    * 
    * List of Animations. The list should be chronological, without any time
    * overlap.
@@ -7388,13 +6472,11 @@ public com.google.cloud.video.transcoder.v1.Overlay.ImageOrBuilder getImageOrBui
    * repeated .google.cloud.video.transcoder.v1.Overlay.Animation animations = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getAnimationsOrBuilderList() {
     return animations_;
   }
   /**
-   *
-   *
    * 
    * List of Animations. The list should be chronological, without any time
    * overlap.
@@ -7407,8 +6489,6 @@ public int getAnimationsCount() {
     return animations_.size();
   }
   /**
-   *
-   *
    * 
    * List of Animations. The list should be chronological, without any time
    * overlap.
@@ -7421,8 +6501,6 @@ public com.google.cloud.video.transcoder.v1.Overlay.Animation getAnimations(int
     return animations_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of Animations. The list should be chronological, without any time
    * overlap.
@@ -7437,7 +6515,6 @@ public com.google.cloud.video.transcoder.v1.Overlay.AnimationOrBuilder getAnimat
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -7449,7 +6526,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (image_ != null) {
       output.writeMessage(1, getImage());
     }
@@ -7466,10 +6544,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (image_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getImage());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getImage());
     }
     for (int i = 0; i < animations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, animations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, animations_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -7479,19 +6559,20 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.video.transcoder.v1.Overlay)) {
       return super.equals(obj);
     }
-    com.google.cloud.video.transcoder.v1.Overlay other =
-        (com.google.cloud.video.transcoder.v1.Overlay) obj;
+    com.google.cloud.video.transcoder.v1.Overlay other = (com.google.cloud.video.transcoder.v1.Overlay) obj;
 
     if (hasImage() != other.hasImage()) return false;
     if (hasImage()) {
-      if (!getImage().equals(other.getImage())) return false;
+      if (!getImage()
+          .equals(other.getImage())) return false;
     }
-    if (!getAnimationsList().equals(other.getAnimationsList())) return false;
+    if (!getAnimationsList()
+        .equals(other.getAnimationsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -7516,127 +6597,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.video.transcoder.v1.Overlay parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.video.transcoder.v1.Overlay parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.transcoder.v1.Overlay parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.Overlay parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.transcoder.v1.Overlay parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.Overlay parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.video.transcoder.v1.Overlay parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.Overlay parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.transcoder.v1.Overlay parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.video.transcoder.v1.Overlay parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.video.transcoder.v1.Overlay parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.transcoder.v1.Overlay parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.video.transcoder.v1.Overlay parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.video.transcoder.v1.Overlay parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.video.transcoder.v1.Overlay prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Overlay configuration.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.Overlay} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.Overlay) com.google.cloud.video.transcoder.v1.OverlayOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Overlay.class, - com.google.cloud.video.transcoder.v1.Overlay.Builder.class); + com.google.cloud.video.transcoder.v1.Overlay.class, com.google.cloud.video.transcoder.v1.Overlay.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.Overlay.newBuilder() @@ -7644,17 +6716,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAnimationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7674,9 +6746,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Overlay_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_Overlay_descriptor; } @java.lang.Override @@ -7695,8 +6767,7 @@ public com.google.cloud.video.transcoder.v1.Overlay build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.Overlay buildPartial() { - com.google.cloud.video.transcoder.v1.Overlay result = - new com.google.cloud.video.transcoder.v1.Overlay(this); + com.google.cloud.video.transcoder.v1.Overlay result = new com.google.cloud.video.transcoder.v1.Overlay(this); int from_bitField0_ = bitField0_; if (imageBuilder_ == null) { result.image_ = image_; @@ -7720,39 +6791,38 @@ public com.google.cloud.video.transcoder.v1.Overlay buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.Overlay) { - return mergeFrom((com.google.cloud.video.transcoder.v1.Overlay) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.Overlay)other); } else { super.mergeFrom(other); return this; @@ -7782,10 +6852,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.Overlay other) { animationsBuilder_ = null; animations_ = other.animations_; bitField0_ = (bitField0_ & ~0x00000001); - animationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAnimationsFieldBuilder() - : null; + animationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAnimationsFieldBuilder() : null; } else { animationsBuilder_.addAllMessages(other.animations_); } @@ -7819,52 +6888,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.video.transcoder.v1.Overlay.Image image_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay.Image, - com.google.cloud.video.transcoder.v1.Overlay.Image.Builder, - com.google.cloud.video.transcoder.v1.Overlay.ImageOrBuilder> - imageBuilder_; + com.google.cloud.video.transcoder.v1.Overlay.Image, com.google.cloud.video.transcoder.v1.Overlay.Image.Builder, com.google.cloud.video.transcoder.v1.Overlay.ImageOrBuilder> imageBuilder_; /** - * - * *
      * Image overlay.
      * 
* * .google.cloud.video.transcoder.v1.Overlay.Image image = 1; - * * @return Whether the image field is set. */ public boolean hasImage() { return imageBuilder_ != null || image_ != null; } /** - * - * *
      * Image overlay.
      * 
* * .google.cloud.video.transcoder.v1.Overlay.Image image = 1; - * * @return The image. */ public com.google.cloud.video.transcoder.v1.Overlay.Image getImage() { if (imageBuilder_ == null) { - return image_ == null - ? com.google.cloud.video.transcoder.v1.Overlay.Image.getDefaultInstance() - : image_; + return image_ == null ? com.google.cloud.video.transcoder.v1.Overlay.Image.getDefaultInstance() : image_; } else { return imageBuilder_.getMessage(); } } /** - * - * *
      * Image overlay.
      * 
@@ -7885,8 +6940,6 @@ public Builder setImage(com.google.cloud.video.transcoder.v1.Overlay.Image value return this; } /** - * - * *
      * Image overlay.
      * 
@@ -7905,8 +6958,6 @@ public Builder setImage( return this; } /** - * - * *
      * Image overlay.
      * 
@@ -7917,9 +6968,7 @@ public Builder mergeImage(com.google.cloud.video.transcoder.v1.Overlay.Image val if (imageBuilder_ == null) { if (image_ != null) { image_ = - com.google.cloud.video.transcoder.v1.Overlay.Image.newBuilder(image_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.video.transcoder.v1.Overlay.Image.newBuilder(image_).mergeFrom(value).buildPartial(); } else { image_ = value; } @@ -7931,8 +6980,6 @@ public Builder mergeImage(com.google.cloud.video.transcoder.v1.Overlay.Image val return this; } /** - * - * *
      * Image overlay.
      * 
@@ -7951,8 +6998,6 @@ public Builder clearImage() { return this; } /** - * - * *
      * Image overlay.
      * 
@@ -7960,13 +7005,11 @@ public Builder clearImage() { * .google.cloud.video.transcoder.v1.Overlay.Image image = 1; */ public com.google.cloud.video.transcoder.v1.Overlay.Image.Builder getImageBuilder() { - + onChanged(); return getImageFieldBuilder().getBuilder(); } /** - * - * *
      * Image overlay.
      * 
@@ -7977,14 +7020,11 @@ public com.google.cloud.video.transcoder.v1.Overlay.ImageOrBuilder getImageOrBui if (imageBuilder_ != null) { return imageBuilder_.getMessageOrBuilder(); } else { - return image_ == null - ? com.google.cloud.video.transcoder.v1.Overlay.Image.getDefaultInstance() - : image_; + return image_ == null ? + com.google.cloud.video.transcoder.v1.Overlay.Image.getDefaultInstance() : image_; } } /** - * - * *
      * Image overlay.
      * 
@@ -7992,43 +7032,32 @@ public com.google.cloud.video.transcoder.v1.Overlay.ImageOrBuilder getImageOrBui * .google.cloud.video.transcoder.v1.Overlay.Image image = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay.Image, - com.google.cloud.video.transcoder.v1.Overlay.Image.Builder, - com.google.cloud.video.transcoder.v1.Overlay.ImageOrBuilder> + com.google.cloud.video.transcoder.v1.Overlay.Image, com.google.cloud.video.transcoder.v1.Overlay.Image.Builder, com.google.cloud.video.transcoder.v1.Overlay.ImageOrBuilder> getImageFieldBuilder() { if (imageBuilder_ == null) { - imageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay.Image, - com.google.cloud.video.transcoder.v1.Overlay.Image.Builder, - com.google.cloud.video.transcoder.v1.Overlay.ImageOrBuilder>( - getImage(), getParentForChildren(), isClean()); + imageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.video.transcoder.v1.Overlay.Image, com.google.cloud.video.transcoder.v1.Overlay.Image.Builder, com.google.cloud.video.transcoder.v1.Overlay.ImageOrBuilder>( + getImage(), + getParentForChildren(), + isClean()); image_ = null; } return imageBuilder_; } private java.util.List animations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAnimationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - animations_ = - new java.util.ArrayList( - animations_); + animations_ = new java.util.ArrayList(animations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Overlay.Animation, - com.google.cloud.video.transcoder.v1.Overlay.Animation.Builder, - com.google.cloud.video.transcoder.v1.Overlay.AnimationOrBuilder> - animationsBuilder_; + com.google.cloud.video.transcoder.v1.Overlay.Animation, com.google.cloud.video.transcoder.v1.Overlay.Animation.Builder, com.google.cloud.video.transcoder.v1.Overlay.AnimationOrBuilder> animationsBuilder_; /** - * - * *
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8036,8 +7065,7 @@ private void ensureAnimationsIsMutable() {
      *
      * repeated .google.cloud.video.transcoder.v1.Overlay.Animation animations = 2;
      */
-    public java.util.List
-        getAnimationsList() {
+    public java.util.List getAnimationsList() {
       if (animationsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(animations_);
       } else {
@@ -8045,8 +7073,6 @@ private void ensureAnimationsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8062,8 +7088,6 @@ public int getAnimationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8079,8 +7103,6 @@ public com.google.cloud.video.transcoder.v1.Overlay.Animation getAnimations(int
       }
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8103,8 +7125,6 @@ public Builder setAnimations(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8124,8 +7144,6 @@ public Builder setAnimations(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8147,8 +7165,6 @@ public Builder addAnimations(com.google.cloud.video.transcoder.v1.Overlay.Animat
       return this;
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8171,8 +7187,6 @@ public Builder addAnimations(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8192,8 +7206,6 @@ public Builder addAnimations(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8213,8 +7225,6 @@ public Builder addAnimations(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8223,11 +7233,11 @@ public Builder addAnimations(
      * repeated .google.cloud.video.transcoder.v1.Overlay.Animation animations = 2;
      */
     public Builder addAllAnimations(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (animationsBuilder_ == null) {
         ensureAnimationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, animations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, animations_);
         onChanged();
       } else {
         animationsBuilder_.addAllMessages(values);
@@ -8235,8 +7245,6 @@ public Builder addAllAnimations(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8255,8 +7263,6 @@ public Builder clearAnimations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8275,8 +7281,6 @@ public Builder removeAnimations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8289,8 +7293,6 @@ public com.google.cloud.video.transcoder.v1.Overlay.Animation.Builder getAnimati
       return getAnimationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8301,14 +7303,11 @@ public com.google.cloud.video.transcoder.v1.Overlay.Animation.Builder getAnimati
     public com.google.cloud.video.transcoder.v1.Overlay.AnimationOrBuilder getAnimationsOrBuilder(
         int index) {
       if (animationsBuilder_ == null) {
-        return animations_.get(index);
-      } else {
+        return animations_.get(index);  } else {
         return animationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8316,8 +7315,8 @@ public com.google.cloud.video.transcoder.v1.Overlay.AnimationOrBuilder getAnimat
      *
      * repeated .google.cloud.video.transcoder.v1.Overlay.Animation animations = 2;
      */
-    public java.util.List
-        getAnimationsOrBuilderList() {
+    public java.util.List 
+         getAnimationsOrBuilderList() {
       if (animationsBuilder_ != null) {
         return animationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -8325,8 +7324,6 @@ public com.google.cloud.video.transcoder.v1.Overlay.AnimationOrBuilder getAnimat
       }
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8335,12 +7332,10 @@ public com.google.cloud.video.transcoder.v1.Overlay.AnimationOrBuilder getAnimat
      * repeated .google.cloud.video.transcoder.v1.Overlay.Animation animations = 2;
      */
     public com.google.cloud.video.transcoder.v1.Overlay.Animation.Builder addAnimationsBuilder() {
-      return getAnimationsFieldBuilder()
-          .addBuilder(com.google.cloud.video.transcoder.v1.Overlay.Animation.getDefaultInstance());
+      return getAnimationsFieldBuilder().addBuilder(
+          com.google.cloud.video.transcoder.v1.Overlay.Animation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8350,13 +7345,10 @@ public com.google.cloud.video.transcoder.v1.Overlay.Animation.Builder addAnimati
      */
     public com.google.cloud.video.transcoder.v1.Overlay.Animation.Builder addAnimationsBuilder(
         int index) {
-      return getAnimationsFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.video.transcoder.v1.Overlay.Animation.getDefaultInstance());
+      return getAnimationsFieldBuilder().addBuilder(
+          index, com.google.cloud.video.transcoder.v1.Overlay.Animation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of Animations. The list should be chronological, without any time
      * overlap.
@@ -8364,30 +7356,27 @@ public com.google.cloud.video.transcoder.v1.Overlay.Animation.Builder addAnimati
      *
      * repeated .google.cloud.video.transcoder.v1.Overlay.Animation animations = 2;
      */
-    public java.util.List
-        getAnimationsBuilderList() {
+    public java.util.List 
+         getAnimationsBuilderList() {
       return getAnimationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.video.transcoder.v1.Overlay.Animation,
-            com.google.cloud.video.transcoder.v1.Overlay.Animation.Builder,
-            com.google.cloud.video.transcoder.v1.Overlay.AnimationOrBuilder>
+        com.google.cloud.video.transcoder.v1.Overlay.Animation, com.google.cloud.video.transcoder.v1.Overlay.Animation.Builder, com.google.cloud.video.transcoder.v1.Overlay.AnimationOrBuilder> 
         getAnimationsFieldBuilder() {
       if (animationsBuilder_ == null) {
-        animationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.video.transcoder.v1.Overlay.Animation,
-                com.google.cloud.video.transcoder.v1.Overlay.Animation.Builder,
-                com.google.cloud.video.transcoder.v1.Overlay.AnimationOrBuilder>(
-                animations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        animationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.video.transcoder.v1.Overlay.Animation, com.google.cloud.video.transcoder.v1.Overlay.Animation.Builder, com.google.cloud.video.transcoder.v1.Overlay.AnimationOrBuilder>(
+                animations_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         animations_ = null;
       }
       return animationsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -8397,12 +7386,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.Overlay)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.Overlay)
   private static final com.google.cloud.video.transcoder.v1.Overlay DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.Overlay();
   }
@@ -8411,16 +7400,16 @@ public static com.google.cloud.video.transcoder.v1.Overlay getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Overlay parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Overlay(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Overlay parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Overlay(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -8435,4 +7424,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.video.transcoder.v1.Overlay getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/OverlayOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/OverlayOrBuilder.java
similarity index 74%
rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/OverlayOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/OverlayOrBuilder.java
index 2cc48348..393b2abc 100644
--- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/OverlayOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/OverlayOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/video/transcoder/v1/resources.proto
 
 package com.google.cloud.video.transcoder.v1;
 
-public interface OverlayOrBuilder
-    extends
+public interface OverlayOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.Overlay)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Image overlay.
    * 
* * .google.cloud.video.transcoder.v1.Overlay.Image image = 1; - * * @return Whether the image field is set. */ boolean hasImage(); /** - * - * *
    * Image overlay.
    * 
* * .google.cloud.video.transcoder.v1.Overlay.Image image = 1; - * * @return The image. */ com.google.cloud.video.transcoder.v1.Overlay.Image getImage(); /** - * - * *
    * Image overlay.
    * 
@@ -59,8 +35,6 @@ public interface OverlayOrBuilder com.google.cloud.video.transcoder.v1.Overlay.ImageOrBuilder getImageOrBuilder(); /** - * - * *
    * List of Animations. The list should be chronological, without any time
    * overlap.
@@ -68,10 +42,9 @@ public interface OverlayOrBuilder
    *
    * repeated .google.cloud.video.transcoder.v1.Overlay.Animation animations = 2;
    */
-  java.util.List getAnimationsList();
+  java.util.List 
+      getAnimationsList();
   /**
-   *
-   *
    * 
    * List of Animations. The list should be chronological, without any time
    * overlap.
@@ -81,8 +54,6 @@ public interface OverlayOrBuilder
    */
   com.google.cloud.video.transcoder.v1.Overlay.Animation getAnimations(int index);
   /**
-   *
-   *
    * 
    * List of Animations. The list should be chronological, without any time
    * overlap.
@@ -92,8 +63,6 @@ public interface OverlayOrBuilder
    */
   int getAnimationsCount();
   /**
-   *
-   *
    * 
    * List of Animations. The list should be chronological, without any time
    * overlap.
@@ -101,11 +70,9 @@ public interface OverlayOrBuilder
    *
    * repeated .google.cloud.video.transcoder.v1.Overlay.Animation animations = 2;
    */
-  java.util.List
+  java.util.List 
       getAnimationsOrBuilderList();
   /**
-   *
-   *
    * 
    * List of Animations. The list should be chronological, without any time
    * overlap.
@@ -113,5 +80,6 @@ public interface OverlayOrBuilder
    *
    * repeated .google.cloud.video.transcoder.v1.Overlay.Animation animations = 2;
    */
-  com.google.cloud.video.transcoder.v1.Overlay.AnimationOrBuilder getAnimationsOrBuilder(int index);
+  com.google.cloud.video.transcoder.v1.Overlay.AnimationOrBuilder getAnimationsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/PreprocessingConfig.java b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/PreprocessingConfig.java
similarity index 72%
rename from proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/PreprocessingConfig.java
rename to owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/PreprocessingConfig.java
index 6e3b3283..e628650f 100644
--- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/PreprocessingConfig.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/PreprocessingConfig.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/video/transcoder/v1/resources.proto
 
 package com.google.cloud.video.transcoder.v1;
 
 /**
- *
- *
  * 
  * Preprocessing configurations.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.PreprocessingConfig} */ -public final class PreprocessingConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PreprocessingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.PreprocessingConfig) PreprocessingConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PreprocessingConfig.newBuilder() to construct. private PreprocessingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PreprocessingConfig() {} + private PreprocessingConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PreprocessingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PreprocessingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,121 +52,91 @@ private PreprocessingConfig( case 0: done = true; break; - case 10: - { - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color.Builder subBuilder = - null; - if (color_ != null) { - subBuilder = color_.toBuilder(); - } - color_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(color_); - color_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color.Builder subBuilder = null; + if (color_ != null) { + subBuilder = color_.toBuilder(); + } + color_ = input.readMessage(com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(color_); + color_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise.Builder subBuilder = - null; - if (denoise_ != null) { - subBuilder = denoise_.toBuilder(); - } - denoise_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(denoise_); - denoise_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise.Builder subBuilder = null; + if (denoise_ != null) { + subBuilder = denoise_.toBuilder(); + } + denoise_ = input.readMessage(com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(denoise_); + denoise_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock.Builder subBuilder = - null; - if (deblock_ != null) { - subBuilder = deblock_.toBuilder(); - } - deblock_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deblock_); - deblock_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock.Builder subBuilder = null; + if (deblock_ != null) { + subBuilder = deblock_.toBuilder(); + } + deblock_ = input.readMessage(com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deblock_); + deblock_ = subBuilder.buildPartial(); } - case 34: - { - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio.Builder subBuilder = - null; - if (audio_ != null) { - subBuilder = audio_.toBuilder(); - } - audio_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(audio_); - audio_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio.Builder subBuilder = null; + if (audio_ != null) { + subBuilder = audio_.toBuilder(); + } + audio_ = input.readMessage(com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(audio_); + audio_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Crop.Builder subBuilder = - null; - if (crop_ != null) { - subBuilder = crop_.toBuilder(); - } - crop_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Crop.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(crop_); - crop_ = subBuilder.buildPartial(); - } - break; + break; + } + case 42: { + com.google.cloud.video.transcoder.v1.PreprocessingConfig.Crop.Builder subBuilder = null; + if (crop_ != null) { + subBuilder = crop_.toBuilder(); + } + crop_ = input.readMessage(com.google.cloud.video.transcoder.v1.PreprocessingConfig.Crop.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(crop_); + crop_ = subBuilder.buildPartial(); } - case 50: - { - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Pad.Builder subBuilder = - null; - if (pad_ != null) { - subBuilder = pad_.toBuilder(); - } - pad_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Pad.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(pad_); - pad_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.cloud.video.transcoder.v1.PreprocessingConfig.Pad.Builder subBuilder = null; + if (pad_ != null) { + subBuilder = pad_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pad_ = input.readMessage(com.google.cloud.video.transcoder.v1.PreprocessingConfig.Pad.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(pad_); + pad_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -190,36 +144,31 @@ private PreprocessingConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.PreprocessingConfig.class, - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Builder.class); + com.google.cloud.video.transcoder.v1.PreprocessingConfig.class, com.google.cloud.video.transcoder.v1.PreprocessingConfig.Builder.class); } - public interface ColorOrBuilder - extends + public interface ColorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.PreprocessingConfig.Color) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Control color saturation of the video. Enter a value between -1 and 1,
      * where -1 is fully desaturated and 1 is maximum saturation. 0 is no
@@ -227,14 +176,11 @@ public interface ColorOrBuilder
      * 
* * double saturation = 1; - * * @return The saturation. */ double getSaturation(); /** - * - * *
      * Control black and white contrast of the video. Enter a value between -1
      * and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
@@ -242,14 +188,11 @@ public interface ColorOrBuilder
      * 
* * double contrast = 2; - * * @return The contrast. */ double getContrast(); /** - * - * *
      * Control brightness of the video. Enter a value between -1 and 1, where -1
      * is minimum brightness and 1 is maximum brightness. 0 is no change. The
@@ -257,14 +200,11 @@ public interface ColorOrBuilder
      * 
* * double brightness = 3; - * * @return The brightness. */ double getBrightness(); } /** - * - * *
    * Color preprocessing configuration.
    * **Note:** This configuration is not supported.
@@ -272,29 +212,30 @@ public interface ColorOrBuilder
    *
    * Protobuf type {@code google.cloud.video.transcoder.v1.PreprocessingConfig.Color}
    */
-  public static final class Color extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Color extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.PreprocessingConfig.Color)
       ColorOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Color.newBuilder() to construct.
     private Color(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private Color() {}
+    private Color() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Color();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Color(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -313,28 +254,28 @@ private Color(
             case 0:
               done = true;
               break;
-            case 9:
-              {
-                saturation_ = input.readDouble();
-                break;
-              }
-            case 17:
-              {
-                contrast_ = input.readDouble();
-                break;
-              }
-            case 25:
-              {
-                brightness_ = input.readDouble();
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+            case 9: {
+
+              saturation_ = input.readDouble();
+              break;
+            }
+            case 17: {
+
+              contrast_ = input.readDouble();
+              break;
+            }
+            case 25: {
+
+              brightness_ = input.readDouble();
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -342,33 +283,29 @@ private Color(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.video.transcoder.v1.ResourcesProto
-          .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Color_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Color_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.transcoder.v1.ResourcesProto
-          .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Color_fieldAccessorTable
+      return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Color_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color.class,
-              com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color.Builder.class);
+              com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color.class, com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color.Builder.class);
     }
 
     public static final int SATURATION_FIELD_NUMBER = 1;
     private double saturation_;
     /**
-     *
-     *
      * 
      * Control color saturation of the video. Enter a value between -1 and 1,
      * where -1 is fully desaturated and 1 is maximum saturation. 0 is no
@@ -376,7 +313,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * double saturation = 1; - * * @return The saturation. */ @java.lang.Override @@ -387,8 +323,6 @@ public double getSaturation() { public static final int CONTRAST_FIELD_NUMBER = 2; private double contrast_; /** - * - * *
      * Control black and white contrast of the video. Enter a value between -1
      * and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
@@ -396,7 +330,6 @@ public double getSaturation() {
      * 
* * double contrast = 2; - * * @return The contrast. */ @java.lang.Override @@ -407,8 +340,6 @@ public double getContrast() { public static final int BRIGHTNESS_FIELD_NUMBER = 3; private double brightness_; /** - * - * *
      * Control brightness of the video. Enter a value between -1 and 1, where -1
      * is minimum brightness and 1 is maximum brightness. 0 is no change. The
@@ -416,7 +347,6 @@ public double getContrast() {
      * 
* * double brightness = 3; - * * @return The brightness. */ @java.lang.Override @@ -425,7 +355,6 @@ public double getBrightness() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -437,7 +366,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(saturation_) != 0) { output.writeDouble(1, saturation_); } @@ -457,13 +387,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(saturation_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, saturation_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, saturation_); } if (java.lang.Double.doubleToRawLongBits(contrast_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, contrast_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, contrast_); } if (java.lang.Double.doubleToRawLongBits(brightness_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, brightness_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(3, brightness_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -473,20 +406,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color other = - (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color) obj; + com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color other = (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color) obj; if (java.lang.Double.doubleToLongBits(getSaturation()) - != java.lang.Double.doubleToLongBits(other.getSaturation())) return false; + != java.lang.Double.doubleToLongBits( + other.getSaturation())) return false; if (java.lang.Double.doubleToLongBits(getContrast()) - != java.lang.Double.doubleToLongBits(other.getContrast())) return false; + != java.lang.Double.doubleToLongBits( + other.getContrast())) return false; if (java.lang.Double.doubleToLongBits(getBrightness()) - != java.lang.Double.doubleToLongBits(other.getBrightness())) return false; + != java.lang.Double.doubleToLongBits( + other.getBrightness())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -499,114 +434,101 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SATURATION_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSaturation())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSaturation())); hash = (37 * hash) + CONTRAST_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getContrast())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getContrast())); hash = (37 * hash) + BRIGHTNESS_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getBrightness())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getBrightness())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -616,8 +538,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Color preprocessing configuration.
      * **Note:** This configuration is not supported.
@@ -625,24 +545,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.video.transcoder.v1.PreprocessingConfig.Color}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.PreprocessingConfig.Color)
         com.google.cloud.video.transcoder.v1.PreprocessingConfig.ColorOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.video.transcoder.v1.ResourcesProto
-            .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Color_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Color_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.video.transcoder.v1.ResourcesProto
-            .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Color_fieldAccessorTable
+        return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Color_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color.class,
-                com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color.Builder.class);
+                com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color.class, com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color.Builder.class);
       }
 
       // Construct using com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color.newBuilder()
@@ -650,15 +567,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -672,14 +590,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.video.transcoder.v1.ResourcesProto
-            .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Color_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Color_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color
-          getDefaultInstanceForType() {
+      public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color getDefaultInstanceForType() {
         return com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color.getDefaultInstance();
       }
 
@@ -694,8 +611,7 @@ public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color build() {
 
       @java.lang.Override
       public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color buildPartial() {
-        com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color result =
-            new com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color(this);
+        com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color result = new com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color(this);
         result.saturation_ = saturation_;
         result.contrast_ = contrast_;
         result.brightness_ = brightness_;
@@ -707,52 +623,46 @@ public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color buildParti
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.video.transcoder.v1.PreprocessingConfig.Color) {
-          return mergeFrom((com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color) other);
+          return mergeFrom((com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color other) {
-        if (other
-            == com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color other) {
+        if (other == com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color.getDefaultInstance()) return this;
         if (other.getSaturation() != 0D) {
           setSaturation(other.getSaturation());
         }
@@ -781,9 +691,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -793,10 +701,8 @@ public Builder mergeFrom(
         return this;
       }
 
-      private double saturation_;
+      private double saturation_ ;
       /**
-       *
-       *
        * 
        * Control color saturation of the video. Enter a value between -1 and 1,
        * where -1 is fully desaturated and 1 is maximum saturation. 0 is no
@@ -804,7 +710,6 @@ public Builder mergeFrom(
        * 
* * double saturation = 1; - * * @return The saturation. */ @java.lang.Override @@ -812,8 +717,6 @@ public double getSaturation() { return saturation_; } /** - * - * *
        * Control color saturation of the video. Enter a value between -1 and 1,
        * where -1 is fully desaturated and 1 is maximum saturation. 0 is no
@@ -821,19 +724,16 @@ public double getSaturation() {
        * 
* * double saturation = 1; - * * @param value The saturation to set. * @return This builder for chaining. */ public Builder setSaturation(double value) { - + saturation_ = value; onChanged(); return this; } /** - * - * *
        * Control color saturation of the video. Enter a value between -1 and 1,
        * where -1 is fully desaturated and 1 is maximum saturation. 0 is no
@@ -841,20 +741,17 @@ public Builder setSaturation(double value) {
        * 
* * double saturation = 1; - * * @return This builder for chaining. */ public Builder clearSaturation() { - + saturation_ = 0D; onChanged(); return this; } - private double contrast_; + private double contrast_ ; /** - * - * *
        * Control black and white contrast of the video. Enter a value between -1
        * and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
@@ -862,7 +759,6 @@ public Builder clearSaturation() {
        * 
* * double contrast = 2; - * * @return The contrast. */ @java.lang.Override @@ -870,8 +766,6 @@ public double getContrast() { return contrast_; } /** - * - * *
        * Control black and white contrast of the video. Enter a value between -1
        * and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
@@ -879,19 +773,16 @@ public double getContrast() {
        * 
* * double contrast = 2; - * * @param value The contrast to set. * @return This builder for chaining. */ public Builder setContrast(double value) { - + contrast_ = value; onChanged(); return this; } /** - * - * *
        * Control black and white contrast of the video. Enter a value between -1
        * and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
@@ -899,20 +790,17 @@ public Builder setContrast(double value) {
        * 
* * double contrast = 2; - * * @return This builder for chaining. */ public Builder clearContrast() { - + contrast_ = 0D; onChanged(); return this; } - private double brightness_; + private double brightness_ ; /** - * - * *
        * Control brightness of the video. Enter a value between -1 and 1, where -1
        * is minimum brightness and 1 is maximum brightness. 0 is no change. The
@@ -920,7 +808,6 @@ public Builder clearContrast() {
        * 
* * double brightness = 3; - * * @return The brightness. */ @java.lang.Override @@ -928,8 +815,6 @@ public double getBrightness() { return brightness_; } /** - * - * *
        * Control brightness of the video. Enter a value between -1 and 1, where -1
        * is minimum brightness and 1 is maximum brightness. 0 is no change. The
@@ -937,19 +822,16 @@ public double getBrightness() {
        * 
* * double brightness = 3; - * * @param value The brightness to set. * @return This builder for chaining. */ public Builder setBrightness(double value) { - + brightness_ = value; onChanged(); return this; } /** - * - * *
        * Control brightness of the video. Enter a value between -1 and 1, where -1
        * is minimum brightness and 1 is maximum brightness. 0 is no change. The
@@ -957,16 +839,14 @@ public Builder setBrightness(double value) {
        * 
* * double brightness = 3; - * * @return This builder for chaining. */ public Builder clearBrightness() { - + brightness_ = 0D; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -979,32 +859,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.PreprocessingConfig.Color) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.PreprocessingConfig.Color) - private static final com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color(); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color - getDefaultInstance() { + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Color parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Color(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Color parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Color(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1016,34 +894,28 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color - getDefaultInstanceForType() { + public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Color getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DenoiseOrBuilder - extends + public interface DenoiseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Set strength of the denoise. Enter a value between 0 and 1. The higher
      * the value, the smoother the image. 0 is no denoising. The default is 0.
      * 
* * double strength = 1; - * * @return The strength. */ double getStrength(); /** - * - * *
      * Set the denoiser mode. The default is `standard`.
      * Supported denoiser modes:
@@ -1052,13 +924,10 @@ public interface DenoiseOrBuilder
      * 
* * string tune = 2; - * * @return The tune. */ java.lang.String getTune(); /** - * - * *
      * Set the denoiser mode. The default is `standard`.
      * Supported denoiser modes:
@@ -1067,14 +936,12 @@ public interface DenoiseOrBuilder
      * 
* * string tune = 2; - * * @return The bytes for tune. */ - com.google.protobuf.ByteString getTuneBytes(); + com.google.protobuf.ByteString + getTuneBytes(); } /** - * - * *
    * Denoise preprocessing configuration.
    * **Note:** This configuration is not supported.
@@ -1082,31 +949,31 @@ public interface DenoiseOrBuilder
    *
    * Protobuf type {@code google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise}
    */
-  public static final class Denoise extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Denoise extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise)
       DenoiseOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Denoise.newBuilder() to construct.
     private Denoise(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Denoise() {
       tune_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Denoise();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Denoise(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1125,25 +992,24 @@ private Denoise(
             case 0:
               done = true;
               break;
-            case 9:
-              {
-                strength_ = input.readDouble();
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 9: {
 
-                tune_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              strength_ = input.readDouble();
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              tune_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1151,40 +1017,35 @@ private Denoise(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.video.transcoder.v1.ResourcesProto
-          .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Denoise_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Denoise_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.transcoder.v1.ResourcesProto
-          .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Denoise_fieldAccessorTable
+      return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Denoise_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise.class,
-              com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise.Builder.class);
+              com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise.class, com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise.Builder.class);
     }
 
     public static final int STRENGTH_FIELD_NUMBER = 1;
     private double strength_;
     /**
-     *
-     *
      * 
      * Set strength of the denoise. Enter a value between 0 and 1. The higher
      * the value, the smoother the image. 0 is no denoising. The default is 0.
      * 
* * double strength = 1; - * * @return The strength. */ @java.lang.Override @@ -1195,8 +1056,6 @@ public double getStrength() { public static final int TUNE_FIELD_NUMBER = 2; private volatile java.lang.Object tune_; /** - * - * *
      * Set the denoiser mode. The default is `standard`.
      * Supported denoiser modes:
@@ -1205,7 +1064,6 @@ public double getStrength() {
      * 
* * string tune = 2; - * * @return The tune. */ @java.lang.Override @@ -1214,15 +1072,14 @@ public java.lang.String getTune() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tune_ = s; return s; } } /** - * - * *
      * Set the denoiser mode. The default is `standard`.
      * Supported denoiser modes:
@@ -1231,15 +1088,16 @@ public java.lang.String getTune() {
      * 
* * string tune = 2; - * * @return The bytes for tune. */ @java.lang.Override - public com.google.protobuf.ByteString getTuneBytes() { + public com.google.protobuf.ByteString + getTuneBytes() { java.lang.Object ref = tune_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tune_ = b; return b; } else { @@ -1248,7 +1106,6 @@ public com.google.protobuf.ByteString getTuneBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1260,7 +1117,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(strength_) != 0) { output.writeDouble(1, strength_); } @@ -1277,7 +1135,8 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(strength_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, strength_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, strength_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tune_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tune_); @@ -1290,17 +1149,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise other = - (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise) obj; + com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise other = (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise) obj; if (java.lang.Double.doubleToLongBits(getStrength()) - != java.lang.Double.doubleToLongBits(other.getStrength())) return false; - if (!getTune().equals(other.getTune())) return false; + != java.lang.Double.doubleToLongBits( + other.getStrength())) return false; + if (!getTune() + .equals(other.getTune())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1313,10 +1173,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STRENGTH_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getStrength())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getStrength())); hash = (37 * hash) + TUNE_FIELD_NUMBER; hash = (53 * hash) + getTune().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -1325,95 +1183,87 @@ public int hashCode() { } public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1423,8 +1273,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Denoise preprocessing configuration.
      * **Note:** This configuration is not supported.
@@ -1432,41 +1280,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise)
         com.google.cloud.video.transcoder.v1.PreprocessingConfig.DenoiseOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.video.transcoder.v1.ResourcesProto
-            .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Denoise_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Denoise_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.video.transcoder.v1.ResourcesProto
-            .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Denoise_fieldAccessorTable
+        return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Denoise_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise.class,
-                com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise.Builder.class);
+                com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise.class, com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise.newBuilder()
+      // Construct using com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1478,16 +1323,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.video.transcoder.v1.ResourcesProto
-            .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Denoise_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Denoise_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise
-          getDefaultInstanceForType() {
-        return com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise
-            .getDefaultInstance();
+      public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise getDefaultInstanceForType() {
+        return com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -1501,8 +1344,7 @@ public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise build()
 
       @java.lang.Override
       public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise buildPartial() {
-        com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise result =
-            new com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise(this);
+        com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise result = new com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise(this);
         result.strength_ = strength_;
         result.tune_ = tune_;
         onBuilt();
@@ -1513,53 +1355,46 @@ public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise buildPar
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.video.transcoder.v1.PreprocessingConfig.Denoise) {
-          return mergeFrom(
-              (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise) other);
+          return mergeFrom((com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise other) {
-        if (other
-            == com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise other) {
+        if (other == com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise.getDefaultInstance()) return this;
         if (other.getStrength() != 0D) {
           setStrength(other.getStrength());
         }
@@ -1586,9 +1421,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1598,17 +1431,14 @@ public Builder mergeFrom(
         return this;
       }
 
-      private double strength_;
+      private double strength_ ;
       /**
-       *
-       *
        * 
        * Set strength of the denoise. Enter a value between 0 and 1. The higher
        * the value, the smoother the image. 0 is no denoising. The default is 0.
        * 
* * double strength = 1; - * * @return The strength. */ @java.lang.Override @@ -1616,38 +1446,32 @@ public double getStrength() { return strength_; } /** - * - * *
        * Set strength of the denoise. Enter a value between 0 and 1. The higher
        * the value, the smoother the image. 0 is no denoising. The default is 0.
        * 
* * double strength = 1; - * * @param value The strength to set. * @return This builder for chaining. */ public Builder setStrength(double value) { - + strength_ = value; onChanged(); return this; } /** - * - * *
        * Set strength of the denoise. Enter a value between 0 and 1. The higher
        * the value, the smoother the image. 0 is no denoising. The default is 0.
        * 
* * double strength = 1; - * * @return This builder for chaining. */ public Builder clearStrength() { - + strength_ = 0D; onChanged(); return this; @@ -1655,8 +1479,6 @@ public Builder clearStrength() { private java.lang.Object tune_ = ""; /** - * - * *
        * Set the denoiser mode. The default is `standard`.
        * Supported denoiser modes:
@@ -1665,13 +1487,13 @@ public Builder clearStrength() {
        * 
* * string tune = 2; - * * @return The tune. */ public java.lang.String getTune() { java.lang.Object ref = tune_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tune_ = s; return s; @@ -1680,8 +1502,6 @@ public java.lang.String getTune() { } } /** - * - * *
        * Set the denoiser mode. The default is `standard`.
        * Supported denoiser modes:
@@ -1690,14 +1510,15 @@ public java.lang.String getTune() {
        * 
* * string tune = 2; - * * @return The bytes for tune. */ - public com.google.protobuf.ByteString getTuneBytes() { + public com.google.protobuf.ByteString + getTuneBytes() { java.lang.Object ref = tune_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tune_ = b; return b; } else { @@ -1705,8 +1526,6 @@ public com.google.protobuf.ByteString getTuneBytes() { } } /** - * - * *
        * Set the denoiser mode. The default is `standard`.
        * Supported denoiser modes:
@@ -1715,22 +1534,20 @@ public com.google.protobuf.ByteString getTuneBytes() {
        * 
* * string tune = 2; - * * @param value The tune to set. * @return This builder for chaining. */ - public Builder setTune(java.lang.String value) { + public Builder setTune( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tune_ = value; onChanged(); return this; } /** - * - * *
        * Set the denoiser mode. The default is `standard`.
        * Supported denoiser modes:
@@ -1739,18 +1556,15 @@ public Builder setTune(java.lang.String value) {
        * 
* * string tune = 2; - * * @return This builder for chaining. */ public Builder clearTune() { - + tune_ = getDefaultInstance().getTune(); onChanged(); return this; } /** - * - * *
        * Set the denoiser mode. The default is `standard`.
        * Supported denoiser modes:
@@ -1759,21 +1573,20 @@ public Builder clearTune() {
        * 
* * string tune = 2; - * * @param value The bytes for tune to set. * @return This builder for chaining. */ - public Builder setTuneBytes(com.google.protobuf.ByteString value) { + public Builder setTuneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tune_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1786,32 +1599,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise) - private static final com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise(); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise - getDefaultInstance() { + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Denoise parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Denoise(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Denoise parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Denoise(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1823,20 +1634,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise - getDefaultInstanceForType() { + public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeblockOrBuilder - extends + public interface DeblockOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Set strength of the deblocker. Enter a value between 0 and 1. The higher
      * the value, the stronger the block removal. 0 is no deblocking. The
@@ -1844,27 +1652,21 @@ public interface DeblockOrBuilder
      * 
* * double strength = 1; - * * @return The strength. */ double getStrength(); /** - * - * *
      * Enable deblocker. The default is `false`.
      * 
* * bool enabled = 2; - * * @return The enabled. */ boolean getEnabled(); } /** - * - * *
    * Deblock preprocessing configuration.
    * **Note:** This configuration is not supported.
@@ -1872,29 +1674,30 @@ public interface DeblockOrBuilder
    *
    * Protobuf type {@code google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock}
    */
-  public static final class Deblock extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Deblock extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock)
       DeblockOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Deblock.newBuilder() to construct.
     private Deblock(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private Deblock() {}
+    private Deblock() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Deblock();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Deblock(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1913,23 +1716,23 @@ private Deblock(
             case 0:
               done = true;
               break;
-            case 9:
-              {
-                strength_ = input.readDouble();
-                break;
-              }
-            case 16:
-              {
-                enabled_ = input.readBool();
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+            case 9: {
+
+              strength_ = input.readDouble();
+              break;
+            }
+            case 16: {
+
+              enabled_ = input.readBool();
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1937,33 +1740,29 @@ private Deblock(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.video.transcoder.v1.ResourcesProto
-          .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Deblock_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Deblock_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.video.transcoder.v1.ResourcesProto
-          .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Deblock_fieldAccessorTable
+      return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Deblock_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock.class,
-              com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock.Builder.class);
+              com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock.class, com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock.Builder.class);
     }
 
     public static final int STRENGTH_FIELD_NUMBER = 1;
     private double strength_;
     /**
-     *
-     *
      * 
      * Set strength of the deblocker. Enter a value between 0 and 1. The higher
      * the value, the stronger the block removal. 0 is no deblocking. The
@@ -1971,7 +1770,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * double strength = 1; - * * @return The strength. */ @java.lang.Override @@ -1982,14 +1780,11 @@ public double getStrength() { public static final int ENABLED_FIELD_NUMBER = 2; private boolean enabled_; /** - * - * *
      * Enable deblocker. The default is `false`.
      * 
* * bool enabled = 2; - * * @return The enabled. */ @java.lang.Override @@ -1998,7 +1793,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2010,7 +1804,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(strength_) != 0) { output.writeDouble(1, strength_); } @@ -2027,10 +1822,12 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(strength_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, strength_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, strength_); } if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, enabled_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2040,17 +1837,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock other = - (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock) obj; + com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock other = (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock) obj; if (java.lang.Double.doubleToLongBits(getStrength()) - != java.lang.Double.doubleToLongBits(other.getStrength())) return false; - if (getEnabled() != other.getEnabled()) return false; + != java.lang.Double.doubleToLongBits( + other.getStrength())) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2063,107 +1861,98 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STRENGTH_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getStrength())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getStrength())); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2173,8 +1962,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Deblock preprocessing configuration.
      * **Note:** This configuration is not supported.
@@ -2182,41 +1969,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock)
         com.google.cloud.video.transcoder.v1.PreprocessingConfig.DeblockOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.video.transcoder.v1.ResourcesProto
-            .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Deblock_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Deblock_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.video.transcoder.v1.ResourcesProto
-            .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Deblock_fieldAccessorTable
+        return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Deblock_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock.class,
-                com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock.Builder.class);
+                com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock.class, com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock.newBuilder()
+      // Construct using com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2228,16 +2012,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.video.transcoder.v1.ResourcesProto
-            .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Deblock_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Deblock_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock
-          getDefaultInstanceForType() {
-        return com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock
-            .getDefaultInstance();
+      public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock getDefaultInstanceForType() {
+        return com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -2251,8 +2033,7 @@ public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock build()
 
       @java.lang.Override
       public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock buildPartial() {
-        com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock result =
-            new com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock(this);
+        com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock result = new com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock(this);
         result.strength_ = strength_;
         result.enabled_ = enabled_;
         onBuilt();
@@ -2263,53 +2044,46 @@ public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock buildPar
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          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) {
+      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) {
+      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) {
+          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) {
+          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.video.transcoder.v1.PreprocessingConfig.Deblock) {
-          return mergeFrom(
-              (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock) other);
+          return mergeFrom((com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock other) {
-        if (other
-            == com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock other) {
+        if (other == com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock.getDefaultInstance()) return this;
         if (other.getStrength() != 0D) {
           setStrength(other.getStrength());
         }
@@ -2335,9 +2109,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2347,10 +2119,8 @@ public Builder mergeFrom(
         return this;
       }
 
-      private double strength_;
+      private double strength_ ;
       /**
-       *
-       *
        * 
        * Set strength of the deblocker. Enter a value between 0 and 1. The higher
        * the value, the stronger the block removal. 0 is no deblocking. The
@@ -2358,7 +2128,6 @@ public Builder mergeFrom(
        * 
* * double strength = 1; - * * @return The strength. */ @java.lang.Override @@ -2366,8 +2135,6 @@ public double getStrength() { return strength_; } /** - * - * *
        * Set strength of the deblocker. Enter a value between 0 and 1. The higher
        * the value, the stronger the block removal. 0 is no deblocking. The
@@ -2375,19 +2142,16 @@ public double getStrength() {
        * 
* * double strength = 1; - * * @param value The strength to set. * @return This builder for chaining. */ public Builder setStrength(double value) { - + strength_ = value; onChanged(); return this; } /** - * - * *
        * Set strength of the deblocker. Enter a value between 0 and 1. The higher
        * the value, the stronger the block removal. 0 is no deblocking. The
@@ -2395,26 +2159,22 @@ public Builder setStrength(double value) {
        * 
* * double strength = 1; - * * @return This builder for chaining. */ public Builder clearStrength() { - + strength_ = 0D; onChanged(); return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
        * Enable deblocker. The default is `false`.
        * 
* * bool enabled = 2; - * * @return The enabled. */ @java.lang.Override @@ -2422,41 +2182,34 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
        * Enable deblocker. The default is `false`.
        * 
* * bool enabled = 2; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
        * Enable deblocker. The default is `false`.
        * 
* * bool enabled = 2; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2469,32 +2222,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock) - private static final com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock(); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock - getDefaultInstance() { + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Deblock parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Deblock(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Deblock parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Deblock(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2506,20 +2257,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock - getDefaultInstanceForType() { + public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AudioOrBuilder - extends + public interface AudioOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.PreprocessingConfig.Audio) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Specify audio loudness normalization in loudness units relative to full
      * scale (LUFS). Enter a value between -24 and 0 (the default), where:
@@ -2534,71 +2282,63 @@ public interface AudioOrBuilder
      * 
* * double lufs = 1; - * * @return The lufs. */ double getLufs(); /** - * - * *
      * Enable boosting high frequency components. The default is `false`.
      * **Note:** This field is not supported.
      * 
* * bool high_boost = 2; - * * @return The highBoost. */ boolean getHighBoost(); /** - * - * *
      * Enable boosting low frequency components. The default is `false`.
      * **Note:** This field is not supported.
      * 
* * bool low_boost = 3; - * * @return The lowBoost. */ boolean getLowBoost(); } /** - * - * *
    * Audio preprocessing configuration.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.PreprocessingConfig.Audio} */ - public static final class Audio extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Audio extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.PreprocessingConfig.Audio) AudioOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Audio.newBuilder() to construct. private Audio(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Audio() {} + private Audio() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Audio(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Audio( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2617,28 +2357,28 @@ private Audio( case 0: done = true; break; - case 9: - { - lufs_ = input.readDouble(); - break; - } - case 16: - { - highBoost_ = input.readBool(); - break; - } - case 24: - { - lowBoost_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 9: { + + lufs_ = input.readDouble(); + break; + } + case 16: { + + highBoost_ = input.readBool(); + break; + } + case 24: { + + lowBoost_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2646,33 +2386,29 @@ private Audio( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Audio_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Audio_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Audio_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Audio_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio.class, - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio.Builder.class); + com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio.class, com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio.Builder.class); } public static final int LUFS_FIELD_NUMBER = 1; private double lufs_; /** - * - * *
      * Specify audio loudness normalization in loudness units relative to full
      * scale (LUFS). Enter a value between -24 and 0 (the default), where:
@@ -2687,7 +2423,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * double lufs = 1; - * * @return The lufs. */ @java.lang.Override @@ -2698,15 +2433,12 @@ public double getLufs() { public static final int HIGH_BOOST_FIELD_NUMBER = 2; private boolean highBoost_; /** - * - * *
      * Enable boosting high frequency components. The default is `false`.
      * **Note:** This field is not supported.
      * 
* * bool high_boost = 2; - * * @return The highBoost. */ @java.lang.Override @@ -2717,15 +2449,12 @@ public boolean getHighBoost() { public static final int LOW_BOOST_FIELD_NUMBER = 3; private boolean lowBoost_; /** - * - * *
      * Enable boosting low frequency components. The default is `false`.
      * **Note:** This field is not supported.
      * 
* * bool low_boost = 3; - * * @return The lowBoost. */ @java.lang.Override @@ -2734,7 +2463,6 @@ public boolean getLowBoost() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2746,7 +2474,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(lufs_) != 0) { output.writeDouble(1, lufs_); } @@ -2766,13 +2495,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(lufs_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, lufs_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, lufs_); } if (highBoost_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, highBoost_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, highBoost_); } if (lowBoost_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, lowBoost_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, lowBoost_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2782,18 +2514,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio)) { return super.equals(obj); } - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio other = - (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio) obj; + com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio other = (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio) obj; if (java.lang.Double.doubleToLongBits(getLufs()) - != java.lang.Double.doubleToLongBits(other.getLufs())) return false; - if (getHighBoost() != other.getHighBoost()) return false; - if (getLowBoost() != other.getLowBoost()) return false; + != java.lang.Double.doubleToLongBits( + other.getLufs())) return false; + if (getHighBoost() + != other.getHighBoost()) return false; + if (getLowBoost() + != other.getLowBoost()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2806,107 +2540,101 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LUFS_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getLufs())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getLufs())); hash = (37 * hash) + HIGH_BOOST_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHighBoost()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHighBoost()); hash = (37 * hash) + LOW_BOOST_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLowBoost()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLowBoost()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio prototype) { + public static Builder newBuilder(com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2916,32 +2644,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Audio preprocessing configuration.
      * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.PreprocessingConfig.Audio} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.PreprocessingConfig.Audio) com.google.cloud.video.transcoder.v1.PreprocessingConfig.AudioOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Audio_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Audio_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Audio_fieldAccessorTable + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Audio_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio.class, - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio.Builder.class); + com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio.class, com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio.Builder.class); } // Construct using com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio.newBuilder() @@ -2949,15 +2672,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2971,14 +2695,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Audio_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.video.transcoder.v1.ResourcesProto.internal_static_google_cloud_video_transcoder_v1_PreprocessingConfig_Audio_descriptor; } @java.lang.Override - public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio - getDefaultInstanceForType() { + public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio getDefaultInstanceForType() { return com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio.getDefaultInstance(); } @@ -2993,8 +2716,7 @@ public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio build() { @java.lang.Override public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio buildPartial() { - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio result = - new com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio(this); + com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio result = new com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio(this); result.lufs_ = lufs_; result.highBoost_ = highBoost_; result.lowBoost_ = lowBoost_; @@ -3006,52 +2728,46 @@ public com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.video.transcoder.v1.PreprocessingConfig.Audio) { - return mergeFrom((com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio) other); + return mergeFrom((com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio other) { - if (other - == com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio other) { + if (other == com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio.getDefaultInstance()) return this; if (other.getLufs() != 0D) { setLufs(other.getLufs()); } @@ -3080,9 +2796,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3092,10 +2806,8 @@ public Builder mergeFrom( return this; } - private double lufs_; + private double lufs_ ; /** - * - * *
        * Specify audio loudness normalization in loudness units relative to full
        * scale (LUFS). Enter a value between -24 and 0 (the default), where:
@@ -3110,7 +2822,6 @@ public Builder mergeFrom(
        * 
* * double lufs = 1; - * * @return The lufs. */ @java.lang.Override @@ -3118,8 +2829,6 @@ public double getLufs() { return lufs_; } /** - * - * *
        * Specify audio loudness normalization in loudness units relative to full
        * scale (LUFS). Enter a value between -24 and 0 (the default), where:
@@ -3134,19 +2843,16 @@ public double getLufs() {
        * 
* * double lufs = 1; - * * @param value The lufs to set. * @return This builder for chaining. */ public Builder setLufs(double value) { - + lufs_ = value; onChanged(); return this; } /** - * - * *
        * Specify audio loudness normalization in loudness units relative to full
        * scale (LUFS). Enter a value between -24 and 0 (the default), where:
@@ -3161,27 +2867,23 @@ public Builder setLufs(double value) {
        * 
* * double lufs = 1; - * * @return This builder for chaining. */ public Builder clearLufs() { - + lufs_ = 0D; onChanged(); return this; } - private boolean highBoost_; + private boolean highBoost_ ; /** - * - * *
        * Enable boosting high frequency components. The default is `false`.
        * **Note:** This field is not supported.
        * 
* * bool high_boost = 2; - * * @return The highBoost. */ @java.lang.Override @@ -3189,54 +2891,45 @@ public boolean getHighBoost() { return highBoost_; } /** - * - * *
        * Enable boosting high frequency components. The default is `false`.
        * **Note:** This field is not supported.
        * 
* * bool high_boost = 2; - * * @param value The highBoost to set. * @return This builder for chaining. */ public Builder setHighBoost(boolean value) { - + highBoost_ = value; onChanged(); return this; } /** - * - * *
        * Enable boosting high frequency components. The default is `false`.
        * **Note:** This field is not supported.
        * 
* * bool high_boost = 2; - * * @return This builder for chaining. */ public Builder clearHighBoost() { - + highBoost_ = false; onChanged(); return this; } - private boolean lowBoost_; + private boolean lowBoost_ ; /** - * - * *
        * Enable boosting low frequency components. The default is `false`.
        * **Note:** This field is not supported.
        * 
* * bool low_boost = 3; - * * @return The lowBoost. */ @java.lang.Override @@ -3244,43 +2937,36 @@ public boolean getLowBoost() { return lowBoost_; } /** - * - * *
        * Enable boosting low frequency components. The default is `false`.
        * **Note:** This field is not supported.
        * 
* * bool low_boost = 3; - * * @param value The lowBoost to set. * @return This builder for chaining. */ public Builder setLowBoost(boolean value) { - + lowBoost_ = value; onChanged(); return this; } /** - * - * *
        * Enable boosting low frequency components. The default is `false`.
        * **Note:** This field is not supported.
        * 
* * bool low_boost = 3; - * * @return This builder for chaining. */ public Builder clearLowBoost() { - + lowBoost_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3293,32 +2979,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.PreprocessingConfig.Audio) } // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.PreprocessingConfig.Audio) - private static final com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio - DEFAULT_INSTANCE; - + private static final com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio(); } - public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio - getDefaultInstance() { + public static com.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser